modified: .gitea/actions/buildkit-build-push/action.yaml
Some checks failed
/ build-image (push) Failing after 14s
Some checks failed
/ build-image (push) Failing after 14s
This commit is contained in:
@@ -50,6 +50,18 @@ runs:
|
|||||||
}
|
}
|
||||||
EOF
|
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
|
# Run BuildKit build
|
||||||
buildctl \
|
buildctl \
|
||||||
--addr ${{ inputs.buildkit_addr }} \
|
--addr ${{ inputs.buildkit_addr }} \
|
||||||
|
|||||||
Reference in New Issue
Block a user