Skip to content

Commit

Permalink
rely on container env passphrase and dct enabling
Browse files Browse the repository at this point in the history
  • Loading branch information
swachter committed May 11, 2021
1 parent 2fcb1f1 commit 50e731b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ aliases:
- &docker_environment
- image: docker:20-git
environment:
DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE: $DELEGATE_PRIVATE_KEY_PASSPHRASE
DOCKER_CONTENT_TRUST: 1
- &checkout
path: ~/opennms-container
Expand All @@ -21,7 +20,7 @@ aliases:
mkdir -p $KEY_FOLDER
echo "$DELEGATE_PRIVATE_KEY" | base64 -d > $KEY_FOLDER/$DELEGATE_PRIVATE_KEY_NAME.key
chmod 600 $KEY_FOLDER/*
DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE="$DELEGATE_PRIVATE_KEY_PASSPHRASE"
export DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE="$DELEGATE_PRIVATE_KEY_PASSPHRASE"
docker trust key load $KEY_FOLDER/$DELEGATE_PRIVATE_KEY_NAME.key
- &common_steps
- checkout: *checkout
Expand Down

0 comments on commit 50e731b

Please sign in to comment.