We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents de3d971 + 3290b09 commit 628b2c2Copy full SHA for 628b2c2
.github/workflows/image.yml
@@ -24,11 +24,20 @@ jobs:
24
registry: ghcr.io
25
username: traptitech
26
password: ${{ secrets.GITHUB_TOKEN }}
27
+ - name: Docker meta
28
+ id: meta
29
+ uses: docker/metadata-action@v5
30
+ with:
31
+ images: ghcr.io/traptitech/jomon
32
+ tags: |
33
+ type=raw,value=latest
34
+ type=sha,format=long,prefix=
35
- name: Build and push
36
uses: docker/build-push-action@v6
37
with:
38
context: .
39
push: ${{ github.event_name != 'pull_request' }}
40
platforms: linux/amd64
- tags: |
- ghcr.io/traptitech/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
41
+ tags: ${{ steps.meta.outputs.tags }}
42
+ labels: ${{ steps.meta.outputs.labels }}
43
+ provenance: false
0 commit comments