Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
fix: trusted (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhagestedt authored Jun 9, 2020
1 parent 66042c1 commit 7c59aeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,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}/cwa-verification-iam:${VERSION}
docker push ${TRUSTED_URL}/${TRUSTED_REPOSITORY}/cwa-verification-iam:${VERSION}
env:
TRUSTED_KEY: ${{ secrets.TRUSTED_KEY }}
TRUSTED_URL: ${{ secrets.TRUSTED_URL }}
TRUSTED_SERVER_URL: ${{ secrets.TRUSTED_SERVER_URL }}
TRUSTED_REPOSITORY: ${{ secrets.TRUSTED_REPOSITORY }}
Expand Down
Binary file modified trusted.key.gpg
Binary file not shown.

0 comments on commit 7c59aeb

Please sign in to comment.