Skip to content

Commit a69b8c0

Browse files
hneivaahal
authored andcommitted
ci: Revert skopeo changes - scoping issue
1 parent 1b012f1 commit a69b8c0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

taskcluster/docker/skopeo/push_image.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ test $VCS_HEAD_REV
1313
echo "=== Generating dockercfg ==="
1414
PASSWORD_URL="http://taskcluster/secrets/v1/secret/project/taskgraph/level-3/dockerhub"
1515
install -m 600 /dev/null $HOME/.dockercfg
16-
curl -vvv $PASSWORD_URL
16+
# Note: If there's a scoping error, this will not fail, causing the skopeo copy command to fail
17+
curl $PASSWORD_URL | jq '.secret.dockercfg' > $HOME/.dockercfg
1718

1819
export REGISTRY_AUTH_FILE=$HOME/.dockercfg
1920

0 commit comments

Comments
 (0)