Skip to content

Commit 6f2d9b7

Browse files
committed
Try running docker build --push by hand
1 parent fad0a66 commit 6f2d9b7

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

.github/workflows/container.yml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,13 @@ jobs:
4444

4545
- name: Build and push container image
4646
id: push
47-
uses: docker/build-push-action@v6
48-
with:
49-
context: .
50-
push: true
51-
tags: ghcr.io/sourcefrog/cargo-mutants:latest # ${{ steps.meta.outputs.tags }}
52-
labels: latest # ${{ steps.meta.outputs.labels }}
53-
54-
- name: Generate artifact attestation
55-
uses: actions/attest-build-provenance@v2
56-
with:
57-
subject-name: ${{ env.REGISTRY }}/${{ github.repository }}
58-
subject-digest: ${{ steps.push.outputs.digest }}
59-
push-to-registry: true
47+
# --platform linux/amd64,linux/arm64
48+
run: |
49+
docker build --push -t ${{ env.REGISTRY }}/${{ github.repository }}:${{ steps.meta.outputs.tags }} .
50+
51+
# - name: Generate artifact attestation
52+
# uses: actions/attest-build-provenance@v2
53+
# with:
54+
# subject-name: ${{ env.REGISTRY }}/${{ github.repository }}
55+
# subject-digest: ${{ steps.push.outputs.digest }}
56+
# push-to-registry: true

0 commit comments

Comments
 (0)