We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f45028 commit ffbe121Copy full SHA for ffbe121
.github/workflows/build_docker_image.yml
@@ -58,10 +58,10 @@ jobs:
58
uses: docker/metadata-action@v5
59
with:
60
images: ghcr.io/${{ github.repository }}/${{ matrix.service }}
61
-# tags: |
62
-# type=raw,value=latest,enable={{is_default_branch}}
63
-# type=ref,event=branch
64
-# type=ref,event=pr
+ tags: |
+ type=raw,value=latest
+ type=ref,event=branch
+ type=ref,event=pr
65
66
- name: Build and push Docker Image
67
uses: docker/build-push-action@v5
@@ -70,5 +70,5 @@ jobs:
70
context: ./${{ matrix.service }}
71
file: ./${{ matrix.service }}/Dockerfile
72
push: true
73
- tags: latest
+ tags: ${{ steps.meta.outputs.tags }}
74
labels: ${{ steps.meta.outputs.labels }}
0 commit comments