Skip to content

Commit 4e718a0

Browse files
authored
ci: Fix pushing released images (#365)
Set `push: true` in Build and push image step. This makes the following `docker push` commands unnecessary, so have removed them.
1 parent 7150b66 commit 4e718a0

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -201,17 +201,11 @@ jobs:
201201
uses: docker/build-push-action@v6
202202
with:
203203
context: .
204-
load: true
204+
push: true
205205
file: docker/Dockerfile
206206
platforms: linux/amd64,linux/arm64
207207
tags: ${{ steps.meta.outputs.tags }}
208208
labels: ${{ steps.meta.outputs.labels }}
209209
cache-from: |
210210
type=gha,scope=docker-release-amd64
211211
type=gha,scope=docker-release-arm64
212-
213-
- name: Push image to GitHub Container Registry
214-
run: docker image push --all-tags ghcr.io/${{ github.repository}}
215-
216-
- name: Push image to DigitalOcean Container Registry
217-
run: docker image push --all-tags registry.digitalocean.com/${{ github.repository }}

0 commit comments

Comments
 (0)