diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 418b04d..da7a9b9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,10 +19,7 @@ jobs: name: Build and Push Docker image to Docker Hub runs-on: ubuntu-latest permissions: - packages: write contents: read - attestations: write - id-token: write steps: - name: Check out the repo uses: actions/checkout@v4 @@ -65,13 +62,6 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - - name: Generate artifact attestation - uses: actions/attest-build-provenance@v1 - with: - subject-name: ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }} - subject-digest: ${{ steps.push.outputs.digest }} - push-to-registry: true - - name: Set short git commit SHA id: vars run: | @@ -94,4 +84,4 @@ jobs: appProject: 'factory', commit_sha: 'sha-${{ steps.vars.outputs.short_sha }}', } - }) \ No newline at end of file + })