Skip to content

Commit

Permalink
fix: add latest tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Oct 11, 2024
1 parent 6343bdc commit 4563aa0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ jobs:
uses: docker/metadata-action@v5
with:
images: "${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}"
tags: |
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
type=raw,value=latest-{{date 'YYYYMMDDHHmmss'}}-{{sha}}
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 4563aa0

Please sign in to comment.