Skip to content

Commit a278bcd

Browse files
committed
push containers manually because docker is incredibly broken (docker/build-push-action#900)
1 parent a947c85 commit a278bcd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/docker.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,21 @@ jobs:
4141
images: |
4242
ghcr.io/${{ github.repository }}
4343
44-
- name: Build and push Docker images
44+
- name: Build Docker images
4545
id: push
4646
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
4747
with:
4848
context: .
49-
push: true
49+
load: true
50+
pull: true
51+
push: false
5052
tags: ${{ steps.meta.outputs.tags }}
5153
labels: ${{ steps.meta.outputs.labels }}
5254
cache-from: type=registry,ref=${{ steps.meta.outputs.tags }}
5355
cache-to: type=registry,ref=${{ steps.meta.outputs.tags }},mode=max
5456
provenance: false
5557

56-
# name: Generate artifact attestation
57-
# uses: actions/attest-build-provenance@v2
58-
# with:
59-
# subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
60-
# subject-digest: ${{ steps.push.outputs.digest }}
61-
# push-to-registry: true
58+
- name: Push Docker images to ghcr.io
59+
run: |
60+
docker push ghcr.io/${{ github.repository }}:${{ steps.meta.outputs.tags }}
61+

0 commit comments

Comments
 (0)