fix cd pipeline #2
@@ -50,6 +50,18 @@ runs:
|
||||
}
|
||||
EOF
|
||||
|
||||
echo "Checking config.json (safe output):"
|
||||
if [ ! -f "$DOCKER_CONFIG_DIR/config.json" ]; then
|
||||
echo "ERROR: config.json missing"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
jq '
|
||||
.auths |= with_entries(
|
||||
.value.auth = "***MASKED***"
|
||||
)
|
||||
' "$DOCKER_CONFIG_DIR/config.json"
|
||||
|
||||
# Run BuildKit build
|
||||
buildctl \
|
||||
--addr ${{ inputs.buildkit_addr }} \
|
||||
|
||||
Reference in New Issue
Block a user