Skip to content

Commit

Permalink
release: push to the latest tag
Browse files Browse the repository at this point in the history
Instead of the dev.latest as it was previously.
  • Loading branch information
lavocatt authored and Msarawan committed Jun 27, 2024
1 parent 31fdb31 commit 37c3993
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 37c3993

Please sign in to comment.