Skip to content

Commit 42cc37b

Browse files
committed
consistently guard
1 parent b7f9253 commit 42cc37b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/oci-ocm.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -366,16 +366,16 @@ jobs:
366366
cat <<EOF >> /tmp/config.json
367367
{
368368
"registry-1.docker.io": {
369-
"auth": "${dockerhub_token}"
369+
"auth": "${dockerhub_token:-}"
370370
},
371371
"docker.io": {
372-
"auth": "${dockerhub_token}"
372+
"auth": "${dockerhub_token:-}"
373373
},
374374
"index.docker.io": {
375-
"auth": "${dockerhub_token}"
375+
"auth": "${dockerhub_token:-}"
376376
},
377377
"https://index.docker.io/v1/": {
378-
"auth": "${dockerhub_token}"
378+
"auth": "${dockerhub_token:-}"
379379
}
380380
}
381381
EOF

0 commit comments

Comments
 (0)