Skip to content

Commit

Permalink
ci: disable artifact attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
getlarge committed May 9, 2024
1 parent 357280a commit 4a8515a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ env:
REGISTRY: ghcr.io
BASE_IMAGE_NAME: ${{ github.repository }}-base
IMAGE_NAME: ${{ github.repository }}
ENABLE_ARTIFACT_ATTESTATION: ${{ vars.ENABLE_ARTIFACT_ATTESTATION || 'false' }}

jobs:
docker:
Expand Down Expand Up @@ -50,7 +51,9 @@ jobs:
tags: ${{ steps.meta-base.outputs.tags }}
labels: ${{ steps.meta-base.outputs.labels }}

# only available for paid plans
- name: Generate artifact attestation for Base RabbitMQ Docker image
if: ${{ env.ENABLE_ARTIFACT_ATTESTATION == 'true' }}
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.BASE_IMAGE_NAME}}
Expand All @@ -75,7 +78,9 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

# only available for paid plans
- name: Generate artifact attestation for RabbitMQ Docker image
if: ${{ env.ENABLE_ARTIFACT_ATTESTATION == 'true' }}
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
Expand Down

0 comments on commit 4a8515a

Please sign in to comment.