mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
fix: Add provenance
This commit is contained in:
@@ -68,6 +68,7 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
type=raw,value=${{ matrix.env }}
|
type=raw,value=${{ matrix.env }}
|
||||||
- name: Build & push Nginx image to GHCR
|
- name: Build & push Nginx image to GHCR
|
||||||
|
id: push
|
||||||
if: steps.check.outputs.should_deploy == 'true'
|
if: steps.check.outputs.should_deploy == 'true'
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
@@ -75,6 +76,12 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
- name: Attest
|
||||||
|
uses: actions/attest-build-provenance@v2
|
||||||
|
id: attest
|
||||||
|
with:
|
||||||
|
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||||
|
subject-digest: ${{ steps.push.outputs.digest }}
|
||||||
- name: Copy files to remote
|
- name: Copy files to remote
|
||||||
if: steps.check.outputs.should_deploy == 'true'
|
if: steps.check.outputs.should_deploy == 'true'
|
||||||
uses: burnett01/rsync-deployments@7.0.2
|
uses: burnett01/rsync-deployments@7.0.2
|
||||||
|
|||||||
Reference in New Issue
Block a user