Skip to content

Commit 97c8059

Browse files
committed
don’t mix refs and tags
1 parent a6e4825 commit 97c8059

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
- name: Set up Docker Buildx
7171
uses: docker/setup-buildx-action@v3
7272

73-
- name: Build and push by digest
73+
- name: Build and push by tag
7474
id: build
7575
uses: docker/build-push-action@v6
7676
with:
@@ -79,7 +79,7 @@ jobs:
7979
platforms: linux/${{ matrix.arch.name }}
8080
labels: ${{ steps.meta.outputs.labels }}
8181
tags: ${{ steps.meta.outputs.tags }}
82-
outputs: "type=image,name=${{ env.GHCR_REPO }},push-by-digest=true,name-canonical=true,push=true"
82+
outputs: "type=image,name=${{ env.GHCR_REPO }},push-by-digest=false,name-canonical=true,push=true"
8383

8484
- name: Export digest
8585
run: |
@@ -147,7 +147,7 @@ jobs:
147147
- name: Set up Docker Buildx
148148
uses: docker/setup-buildx-action@v3
149149

150-
- name: Build and push by digest
150+
- name: Build and push by tag
151151
id: build
152152
uses: docker/build-push-action@v6
153153
with:
@@ -156,7 +156,7 @@ jobs:
156156
platforms: linux/${{ matrix.arch.name }}
157157
labels: ${{ steps.meta.outputs.labels }}
158158
tags: ${{ steps.meta.outputs.tags }}
159-
outputs: "type=image,name=${{ env.GHCR_REPO }},push-by-digest=true,name-canonical=true,push=true"
159+
outputs: "type=image,name=${{ env.GHCR_REPO }},push-by-digest=false,name-canonical=true,push=true"
160160

161161
- name: Export digest
162162
run: |
@@ -223,7 +223,7 @@ jobs:
223223
- name: Set up Docker Buildx
224224
uses: docker/setup-buildx-action@v3
225225

226-
- name: Build and push by digest
226+
- name: Build and push by tag
227227
id: build
228228
uses: docker/build-push-action@v6
229229
with:
@@ -232,7 +232,7 @@ jobs:
232232
platforms: linux/${{ matrix.arch.name }}
233233
labels: ${{ steps.meta.outputs.labels }}
234234
tags: ${{ steps.meta.outputs.tags }}
235-
outputs: "type=image,name=${{ env.GHCR_REPO }},push-by-digest=true,name-canonical=true,push=true"
235+
outputs: "type=image,name=${{ env.GHCR_REPO }},push-by-digest=false,name-canonical=true,push=true"
236236

237237
- name: Export digest
238238
run: |

0 commit comments

Comments
 (0)