File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 steps :
2424 - uses : actions/checkout@v4
2525
26+ - name : Set up Docker Buildx
27+ uses : docker/setup-buildx-action@v3
28+
2629 - uses : elastic/apm-pipeline-library/.github/actions/docker-login@current
2730 with :
2831 registry : docker.io
@@ -46,13 +49,15 @@ jobs:
4649 uses : docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
4750 with :
4851 context : .
52+ provenance : mode=max
4953 push : true
54+ sbom : true
5055 tags : ${{ steps.docker-meta.outputs.tags }}
5156 labels : ${{ steps.docker-meta.outputs.labels }}
5257
5358 - name : Attest image
5459 uses : github-early-access/generate-build-provenance@main
5560 with :
56- subject-name : ${{ env.DOCKER_IMAGE_NAME }}
61+ subject-name : index.docker.io/ ${{ env.DOCKER_IMAGE_NAME }}
5762 subject-digest : ${{ steps.docker-push.outputs.digest }}
58- push-to-registry : false
63+ push-to-registry : true
You can’t perform that action at this time.
0 commit comments