Skip to content

Commit e599548

Browse files
committed
ci: Remove build provenance attestation from dev image build
1 parent 25fdf68 commit e599548

1 file changed

Lines changed: 2 additions & 22 deletions

File tree

‎.github/workflows/build_push_dev.yml‎

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ jobs:
1515
contents: read
1616
packages: write
1717
attestations: write
18-
artifact-metadata: write
1918
id-token: write
20-
outputs:
21-
digest: ${{ steps.build-and-push-backend.outputs.digest }}
2219
steps:
2320
-
2421
name: Checkout
@@ -54,7 +51,7 @@ jobs:
5451
platforms: linux/amd64
5552
push: true
5653
# Disable buildkit attestations so the pushed reference is the image
57-
# manifest digest (not an index), which actions/attest requires.
54+
# manifest digest (not an index), which is what cosign signs.
5855
provenance: false
5956
tags: oci.stackable.tech/stackable/secobserve-backend:dev
6057
build-args: |
@@ -64,24 +61,14 @@ jobs:
6461
-
6562
name: Sign the published backend image
6663
run: cosign sign -y oci.stackable.tech/stackable/secobserve-backend@${{ steps.build-and-push-backend.outputs.digest }}
67-
-
68-
name: Attest the published backend image
69-
uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2
70-
with:
71-
subject-name: oci.stackable.tech/stackable/secobserve-backend
72-
subject-digest: ${{ steps.build-and-push-backend.outputs.digest }}
73-
push-to-registry: true
7464

7565
docker_frontend_dev:
7666
runs-on: ubuntu-latest
7767
permissions:
7868
contents: read
7969
packages: write
8070
attestations: write
81-
artifact-metadata: write
8271
id-token: write
83-
outputs:
84-
digest: ${{ steps.build-and-push-frontend.outputs.digest }}
8572
steps:
8673
-
8774
name: Checkout
@@ -116,7 +103,7 @@ jobs:
116103
platforms: linux/amd64
117104
push: true
118105
# Disable buildkit attestations so the pushed reference is the image
119-
# manifest digest (not an index), which actions/attest requires.
106+
# manifest digest (not an index), which is what cosign signs.
120107
provenance: false
121108
tags: oci.stackable.tech/stackable/secobserve-frontend:dev
122109
build-args: |
@@ -126,10 +113,3 @@ jobs:
126113
-
127114
name: Sign the published frontend image
128115
run: cosign sign -y oci.stackable.tech/stackable/secobserve-frontend@${{ steps.build-and-push-frontend.outputs.digest }}
129-
-
130-
name: Attest the published frontend image
131-
uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4.2.2
132-
with:
133-
subject-name: oci.stackable.tech/stackable/secobserve-frontend
134-
subject-digest: ${{ steps.build-and-push-frontend.outputs.digest }}
135-
push-to-registry: true

0 commit comments

Comments
 (0)