Skip to content

Commit

Permalink
set DCT related env in common build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
swachter committed May 10, 2021
1 parent b6922f8 commit 9caa62b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ export DOCKER_CONTENT_TRUST=1
export DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE="$DELEGATE_PRIVATE_KEY_PASSPHRASE"
KEY_FOLDER=~/.docker/trust/private
mkdir -p $KEY_FOLDER
echo "$DELEGATE_PRIVATE_KEY" | base64 -d > $KEY_FOLDER/$DELEGATE_PRIVATE_KEY_NAME.key
echo "$DELEGATE_PRIVATE_KEY" | base64 -d > "$KEY_FOLDER/$DELEGATE_PRIVATE_KEY_NAME.key"
chmod 600 $KEY_FOLDER/*
export DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE="$DELEGATE_PRIVATE_KEY_PASSPHRASE"
docker trust key load $KEY_FOLDER/$DELEGATE_PRIVATE_KEY_NAME.key
docker trust key load "$KEY_FOLDER/$DELEGATE_PRIVATE_KEY_NAME.key"

#echo "Detect changes in projects"
# if found_changes; then
Expand Down

0 comments on commit 9caa62b

Please sign in to comment.