Skip to content

Commit

Permalink
Fix latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
felixschndr committed Oct 30, 2024
1 parent 8623132 commit db1c123
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/publish_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ jobs:
file: Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
tags: ${{ steps.meta.outputs.tags }},${{ env.REGISTRY}}/${{ env.IMAGE_NAME }}:latest
labels: ${{ steps.meta.outputs.labels }}

- name: Build and push Docker image as latest
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}:latest
# - name: Build and push Docker image as latest
# uses: docker/build-push-action@v5
# with:
# context: .
# file: Dockerfile
# push: true
# platforms: linux/amd64,linux/arm64
# tags: latest
# labels: ${{ steps.meta.outputs.labels }}

0 comments on commit db1c123

Please sign in to comment.