mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 05:34:48 +02:00
container-image
workflow: Don't push attestations to image registries
Without further investigation, this only seems to push the image with the digest as a tag, which only pollutes the registry.
This commit is contained in:
parent
678656129a
commit
4e4347072b
4
.github/workflows/container-image.yml
vendored
4
.github/workflows/container-image.yml
vendored
@ -103,7 +103,7 @@ jobs:
|
||||
with:
|
||||
subject-name: ghcr.io/${{ env.IMAGE_NAME }}
|
||||
subject-digest: ${{ steps.build-and-push.outputs.digest }}
|
||||
push-to-registry: true
|
||||
push-to-registry: false
|
||||
|
||||
- name: Generate artifact attestation for Docker Hub
|
||||
if: github.event_name != 'pull_request'
|
||||
@ -115,4 +115,4 @@ jobs:
|
||||
# [^1]: https://github.com/actions/attest-build-provenance?tab=readme-ov-file#container-image
|
||||
subject-name: index.docker.io/${{ env.IMAGE_NAME }}
|
||||
subject-digest: ${{ steps.build-and-push.outputs.digest }}
|
||||
push-to-registry: true
|
||||
push-to-registry: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user