Skip to content

Commit

Permalink
ci: update workflows (#1064)
Browse files Browse the repository at this point in the history
- add build attestation for api image
- add build attestation for cleanup image
- add build attestation for dashboard image
- add build attestation for symbolicator-android image
  • Loading branch information
detj authored Aug 19, 2024
1 parent 47b57aa commit c527dd5
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 32 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,12 @@ jobs:
org.opencontainers.image.description=Measure API Server
org.opencontainers.image.licenses=Apache-2.0
# Disable artifact attestation till repo is public
# as this is a paid feature in GitHub.
# - name: Generate artifact attestation
# uses: actions/attest-build-provenance@v1
# with:
# subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# subject-digest: ${{ steps.push.outputs.digest }}
# push-to-registry: true
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

deploy:
name: Deploy to fly.io
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,9 @@ jobs:
org.opencontainers.image.description=Measure Cleanup Server
org.opencontainers.image.licenses=Apache-2.0
# Disable artifact attestation till repo is public
# as this is a paid feature in GitHub.
# - name: Generate artifact attestation
# uses: actions/attest-build-provenance@v1
# with:
# subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# subject-digest: ${{ steps.push.outputs.digest }}
# push-to-registry: true
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
14 changes: 6 additions & 8 deletions .github/workflows/dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,9 @@ jobs:
org.opencontainers.image.description=Measure Dashboard App
org.opencontainers.image.licenses=Apache-2.0
# Disable artifact attestation till repo is public
# as this is a paid feature in GitHub.
# - name: Generate artifact attestation
# uses: actions/attest-build-provenance@v1
# with:
# subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# subject-digest: ${{ steps.push.outputs.digest }}
# push-to-registry: true
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
14 changes: 6 additions & 8 deletions .github/workflows/symbolicator-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,9 @@ jobs:
org.opencontainers.image.description=Measure Symbolicator for Android
org.opencontainers.image.licenses=Apache-2.0
# Disable artifact attestation till repo is public
# as this is a paid feature in GitHub.
# - name: Generate artifact attestation
# uses: actions/attest-build-provenance@v1
# with:
# subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# subject-digest: ${{ steps.push.outputs.digest }}
# push-to-registry: true
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

0 comments on commit c527dd5

Please sign in to comment.