We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5db8c83 commit 172c9afCopy full SHA for 172c9af
.github/workflows/docker-publish.yml
@@ -32,11 +32,13 @@ jobs:
32
uses: docker/metadata-action@v5
33
with:
34
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
35
+ tags: |
36
+ type=raw,value=latest,enable={{is_default_branch}}
37
38
- name: Build and push Docker image
39
uses: docker/build-push-action@v5
40
41
context: docker
42
push: ${{ github.event_name != 'pull_request' }}
- tags: type=raw,value=latest,enable={{is_default_branch}}
43
+ tags: ${{ steps.meta.outputs.tags }}
44
labels: ${{ steps.meta.outputs.labels }}
0 commit comments