From d4d34708f371b006137ac92005befff2b0bf10e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20Jir=C3=A9nius?= Date: Mon, 8 Jul 2024 14:32:16 +0200 Subject: [PATCH] Release v1.8.0. Amendments with two attenstation steps. --- .github/workflows/docker.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b9add4c..0de16f4 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -39,7 +39,7 @@ jobs: uses: docker/metadata-action@v5 with: images: | - resgateio/resgate + ${{ github.repository }} ghcr.io/${{ github.repository }} tags: | type=semver,pattern={{version}}-linux @@ -61,11 +61,16 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - - name: Generate artifact attestation + - name: Generate artifact attestation Docker Hub uses: actions/attest-build-provenance@v1 with: - subject-name: | - index.docker.io/resgateio/resgate - ghcr.io/${{ github.repository }} + subject-name: docker.io/${{ github.repository }} + subject-digest: ${{ steps.push.outputs.digest }} + push-to-registry: true + + - name: Generate artifact attestation GitHub Container Registery + uses: actions/attest-build-provenance@v1 + with: + subject-name: ghcr.io/${{ github.repository }} subject-digest: ${{ steps.push.outputs.digest }} push-to-registry: true