We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edcb8aa commit 5df484cCopy full SHA for 5df484c
1 file changed
.github/workflows/docker-build.yml
@@ -10,6 +10,9 @@ on:
10
- slides/**
11
- images/**
12
- .gitignore
13
+ tags:
14
+ - "v*.*"
15
+ - "v*.*.*"
16
pull_request:
17
paths-ignore:
18
- "*.md"
@@ -51,12 +54,10 @@ jobs:
51
54
with:
52
55
images: ghcr.io/${{ github.repository }}
53
56
tags: |
- type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' && matrix.arch == 'amd64' }}
- type=ref,event=branch
57
+ type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
58
type=ref,event=pr
59
+ type=ref,event=tag
60
type=sha,format=short
- flavor: |
- suffix=-${{ matrix.arch }}
61
62
- name: Build and push
63
uses: docker/build-push-action@v6
0 commit comments