Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Oct 12, 2024
1 parent c469033 commit f7e0d70
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
description: 'Version'
required: true

permissions:
id-token: write
attestations: write

jobs:
build-and-push:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -42,3 +46,10 @@ jobs:
context: .
push: true
tags: deployphp/deployer:${{ env.RELEASE_VERSION }}

- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-name: deployphp/deployer
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

0 comments on commit f7e0d70

Please sign in to comment.