-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 906 Bytes
/
pr.yml
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
31
32
33
34
35
36
37
38
39
name: Check sinker config
on:
pull_request:
env:
GHCR_USERNAME: ${{ github.actor }}
GHCR_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Prepare Go
uses: actions/setup-go@v2
with:
go-version: '^1.17.0'
- name: Checkout sinker
uses: actions/checkout@master
with:
repository: mnasiadka/sinker
ref: refs/heads/target-tag
- name: Install sinker
run: make build && cp ./sinker ../
- name: Checkout container-image-sync
uses: actions/checkout@master
# - name: Run sinker check
# run: ../sinker check
- name: Run sinker push (dry-run)
run: ../sinker push --dryrun
continue-on-error: true
- name: Run sinker push with magic manifest
run: ../sinker push --manifest .tigera.yaml