Skip to content

Commit

Permalink
Also push to quay.io
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schildt <[email protected]>
  • Loading branch information
SebastianSchildt committed Jun 10, 2024
1 parent d72777a commit e93b98b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/kuksa-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
# list of Docker images to use as base name for tags
images: |
ghcr.io/eclipse-kuksa/kuksa-python-sdk/kuksa-client
quay.io/eclipse-kuksa/kuksa-client
# generate Docker tags based on the following events/attributes
tags: |
type=ref,event=branch
Expand All @@ -67,7 +68,7 @@ jobs:
id: buildx
uses: docker/setup-buildx-action@v3

- name: Log in to the Container registry
- name: Log in to ghcr.io container registry
if: needs.check_ghcr_push.outputs.push == 'true'
uses: docker/login-action@v3
with:
Expand All @@ -77,7 +78,15 @@ jobs:
#username: kuksa-bot #keep it for now, maybe the standard token can not push to same package
#password: ${{ secrets.PUSH_CONTAINER_TOKEN }}

- name: Build kuksa command line client docker and push to ghcr.io
- name: Log in to quay.io container registry
if: needs.check_ghcr_push.outputs.push == 'true'
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_IO_USERNAME }}
password: ${{ secrets.QUAY_IO_TOKEN }}

- name: Build kuksa command line client docker and push to ghcr.io, quay.io and ttl.sh
if: needs.check_ghcr_push.outputs.push == 'true'
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit e93b98b

Please sign in to comment.