Skip to content

Commit

Permalink
enable dct for pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
swachter committed May 11, 2021
1 parent b306c99 commit 7a3ae45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .circleci/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ source ../registry-config.sh

#if [ "${CIRCLE_BRANCH}" == "master" ]; then
# echo "Publish images for master branch ..."
export DOCKER_CONTENT_TRUST=1
export DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE="$DELEGATE_PRIVATE_KEY_PASSPHRASE"

for TAG in ${CONTAINER_VERSION_TAGS[*]}; do
docker push "${CONTAINER_REGISTRY}/${CONTAINER_REGISTRY_REPO}/${CONTAINER_PROJECT}:${TAG}"
done
Expand Down

0 comments on commit 7a3ae45

Please sign in to comment.