diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index d517391..59926c1 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -75,13 +75,14 @@ jobs: export DOCKER_CONTENT_TRUST_SERVER=${TRUSTED_SERVER_URL} export DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE=${TRUSTED_TOKEN} export DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE=${TRUSTED_TOKEN} - gpg --quiet --batch --yes --decrypt --passphrase=${TRUSTED_TOKEN} \ + gpg --quiet --batch --yes --decrypt --passphrase=${TRUSTED_KEY} \ --output trusted.key trusted.key.gpg chmod 600 trusted.key docker trust key load trusted.key --name user docker trust sign ${TRUSTED_URL}/${TRUSTED_REPOSITORY}/${ARTIFACT_ID}:${VERSION} docker push ${TRUSTED_URL}/${TRUSTED_REPOSITORY}/${ARTIFACT_ID}:${VERSION} env: + TRUSTED_KEY: ${{ secrets.TRUSTED_KEY }} TRUSTED_URL: ${{ secrets.TRUSTED_URL }} TRUSTED_SERVER_URL: ${{ secrets.TRUSTED_SERVER_URL }} TRUSTED_REPOSITORY: ${{ secrets.TRUSTED_REPOSITORY }} diff --git a/trusted.key.gpg b/trusted.key.gpg index 1794db3..ffdf9b9 100644 Binary files a/trusted.key.gpg and b/trusted.key.gpg differ