From 695ee8547d2077959832165daa8c2046e71bed69 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 9 Feb 2023 12:06:55 +0100 Subject: [PATCH 1/2] e2e: quay.io Signed-off-by: CrazyMax --- .github/workflows/e2e.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 138651d..4ea48ba 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -70,6 +70,11 @@ jobs: slug: officialgithubactions.azurecr.io/test-docker-action username_secret: AZURE_CLIENT_ID password_secret: AZURE_CLIENT_SECRET + - + registry: quay.io + slug: quay.io/crazymax/build-push-action + username_secret: QUAY_USERNAME + password_secret: QUAY_TOKEN steps: - name: Checkout From f74fd039f36d608fb4ddbe9787c3782dcd12dfff Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Thu, 9 Feb 2023 12:53:34 +0100 Subject: [PATCH 2/2] e2e: input to set additional tag Signed-off-by: CrazyMax --- .github/workflows/e2e.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 4ea48ba..c249ccd 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -11,13 +11,16 @@ on: description: 'BuildKit image' default: 'moby/buildkit:buildx-stable-1' required: false + tag: + description: 'Additional tag to push' + required: false schedule: - cron: '0 10 * * *' push: branches: - 'master' tags: - - v* + - 'v*' env: BUILDX_VERSION: latest @@ -85,6 +88,10 @@ jobs: uses: docker/metadata-action@v4 with: images: ${{ matrix.slug }} + tags: | + type=ref,event=branch + type=ref,event=tag + type=raw,value=${{ inputs.tag }},enable=${{ inputs.tag != '' }} - name: Set up QEMU uses: docker/setup-qemu-action@v2