8484 type=sha
8585 type=ref,event=pr
8686 type=semver,pattern={{version}}
87- type=semver,pattern={{major}}.{{minor}}
88- type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
8987 - name : Set up QEMU
9088 uses : docker/setup-qemu-action@v2
9189 - name : Set up Docker Buildx
@@ -123,7 +121,8 @@ jobs:
123121 latest=false
124122 # generate Docker tags based on the following events/attributes
125123 tags : |
126- type=semver,pattern={{version}},type=sha,suffix=-amd64,latest=false
124+ type=semver,pattern={{version}},suffix=-amd64,latest=false
125+ type=sha,suffix=-amd64,latest=false
127126 - name : Build and push single-arch amd64 image
128127 # if: startsWith(github.ref, 'refs/tags/v')
129128 uses : docker/build-push-action@v3
@@ -145,7 +144,8 @@ jobs:
145144 latest=false
146145 # generate Docker tags based on the following events/attributes
147146 tags : |
148- type=semver,pattern={{version}},type=sha,suffix=-arm64,latest=false
147+ type=semver,pattern={{version}},suffix=-arm64,latest=false
148+ type=sha,suffix=-arm64,latest=false
149149 - name : Build and push single-arch arm64 image
150150 # if: startsWith(github.ref, 'refs/tags/v')
151151 uses : docker/build-push-action@v3
0 commit comments