Skip to content

Commit

Permalink
use gyg registry
Browse files Browse the repository at this point in the history
Signed-off-by: Fernando Cainelli <[email protected]>
  • Loading branch information
cainelli committed Jun 26, 2024
1 parent 942c90d commit 1ef3204
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }} # TODO: use a GYG registry
password: ${{ secrets.DOCKERHUB_TOKEN }} # TODO: use a GYG registry
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v6
Expand All @@ -33,5 +30,6 @@ jobs:
file: tools/router-check-tool/Dockerfile
context: .
platforms: linux/amd64
push: ${{ startsWith(github.ref_name, 'release-') && github.event_name == 'push'}}
tags: cainelli/router_check_tool:${{ github.ref_name }}
push: true
# push: ${{ github.ref_name == github.event.repository.default_branch && github.event_name == 'push'}}
tags: getyourguide/router-check-tool:release-1.22

0 comments on commit 1ef3204

Please sign in to comment.