From e93b98b46627ac785957b323f9ee058d98028358 Mon Sep 17 00:00:00 2001 From: Sebastian Schildt Date: Mon, 10 Jun 2024 13:23:33 +0000 Subject: [PATCH] Also push to quay.io Signed-off-by: Sebastian Schildt --- .github/workflows/kuksa-client.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/kuksa-client.yml b/.github/workflows/kuksa-client.yml index 13c3fa5..d23f53f 100644 --- a/.github/workflows/kuksa-client.yml +++ b/.github/workflows/kuksa-client.yml @@ -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 @@ -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: @@ -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: