Fix typo #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync Container images | |
on: | |
push: | |
branches: | |
- main | |
env: | |
GHCR_USERNAME: ${{ github.actor }} | |
GHCR_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
build: | |
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 pull | |
run: ../sinker pull | |
- name: Run sinker push (dry-run) | |
run: ../sinker push --dryrun | |
- name: Run sinker push | |
run: ../sinker push |