-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (30 loc) · 1003 Bytes
/
pr.yml
File metadata and controls
30 lines (30 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: PR Pipeline
on:
pull_request:
branches: [master]
jobs:
build-deploy:
runs-on: self-hosted
env:
SCROLL_REGISTRY_ENDPOINT: ${{ secrets.SCROLL_REGISTRY_ENDPOINT }}
SCROLL_REGISTRY_API_KEY: ${{ secrets.SCROLL_REGISTRY_API_KEY }}
SCROLL_REGISTRY_API_SECRET: ${{ secrets.SCROLL_REGISTRY_API_SECRET }}
SCROLL_REGISTRY_BUCKET: ${{ secrets.SCROLL_REGISTRY_BUCKET_STAGING }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ">=1.19.3"
- run: apt update && apt install -y make
- run: make build-tree
- name: Get registry binary
uses: robinraju/release-downloader@v1.7
with:
repository: "highcard-dev/druid-cli"
latest: true
fileName: "druid"
token: ${{ secrets.GO_REPO_TOKEN }}
- run: chmod +x ./druid
- name: Install druid
run: mv ./druid /usr/local/bin/druid
- run: ./scripts/validate_all_scrolls.sh