Skip to content

Commit

Permalink
Merge pull request #2337 from buildkite/update-skopeo
Browse files Browse the repository at this point in the history
  • Loading branch information
DrJosh9000 authored Aug 30, 2023
2 parents 412c05e + 3040b2f commit 7a2d02b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .buildkite/steps/publish-docker-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ dry_run() {
}

skopeo() {
docker run --rm -v "${DOCKER_CONFIG:-$HOME/.docker}:/root/.docker:ro" quay.io/skopeo/stable:v1 "$@"
docker run --rm \
-v "${DOCKER_CONFIG:-$HOME/.docker}:/root/.docker:ro" \
-e "REGISTRY_AUTH_FILE=/root/.docker/config.json" \
quay.io/skopeo/stable:v1 \
"$@"
}

# Convert 2.3.2 into [ 2.3.2 2.3 2 ] or 3.0-beta.42 in [ 3.0-beta.42 3.0 3 ]
Expand Down

0 comments on commit 7a2d02b

Please sign in to comment.