From 37c3993af64ca0a605f1c11976ed839be63ee32e Mon Sep 17 00:00:00 2001 From: Thomas Lavocat Date: Thu, 27 Jun 2024 11:01:22 +0200 Subject: [PATCH] release: push to the `latest` tag Instead of the dev.latest as it was previously. --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 809cc11a..58d79ebd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,27 +32,27 @@ jobs: - name: Set outputs id: vars - run: | + run: | echo "image_tag=$(git describe --exact-match --tags | sed 's/v//')" >> $GITHUB_OUTPUT - name: Check outputs - run: | + run: | echo ${{ steps.vars.outputs.image_tag }} - name: Set up QEMU uses: docker/setup-qemu-action@v2 - - name: Build the image + - name: Build the image id: build-image uses: redhat-actions/buildah-build@v2 with: image: ${{ env.IMAGE_NAME }} - tags: dev.latest ${{ steps.vars.outputs.image_tag }} + tags: latest ${{ steps.vars.outputs.image_tag }} platforms: linux/amd64, linux/arm64 context: . dockerfiles: | ./Dockerfile - - name: Push the dev image to quay.io + - name: Push the image to quay.io id: push-to-quay uses: redhat-actions/push-to-registry@v2 with: