modified: .gitea/limbo_actions/buildkit-build-push/action.yaml
/ build-docker-image (push) Failing after 12m12s
/ build-docker-image (push) Failing after 12m12s
This commit is contained in:
@@ -48,6 +48,7 @@ runs:
|
|||||||
|
|
||||||
# setup file docker config (auth) temp file
|
# setup file docker config (auth) temp file
|
||||||
AUTH=$(printf "%s" "${{ inputs.registry_username }}:${{ inputs.registry_password }}" | base64 -w 0)
|
AUTH=$(printf "%s" "${{ inputs.registry_username }}:${{ inputs.registry_password }}" | base64 -w 0)
|
||||||
|
|
||||||
cat > "$DOCKER_CONFIG_DIR/config.json" <<EOF
|
cat > "$DOCKER_CONFIG_DIR/config.json" <<EOF
|
||||||
{
|
{
|
||||||
"auths": {
|
"auths": {
|
||||||
@@ -67,7 +68,6 @@ runs:
|
|||||||
|
|
||||||
echo "Using build args: $BUILD_ARG_FLAGS"
|
echo "Using build args: $BUILD_ARG_FLAGS"
|
||||||
|
|
||||||
# Run BuildKit build
|
|
||||||
DOCKER_CONFIG=$DOCKER_CONFIG_DIR buildctl \
|
DOCKER_CONFIG=$DOCKER_CONFIG_DIR buildctl \
|
||||||
--addr ${{ inputs.buildkit_addr }} \
|
--addr ${{ inputs.buildkit_addr }} \
|
||||||
build \
|
build \
|
||||||
@@ -76,6 +76,4 @@ runs:
|
|||||||
--local dockerfile=${{ inputs.dockerfile }} \
|
--local dockerfile=${{ inputs.dockerfile }} \
|
||||||
--opt filename=${{ inputs.filename }} \
|
--opt filename=${{ inputs.filename }} \
|
||||||
$BUILD_ARG_FLAGS \
|
$BUILD_ARG_FLAGS \
|
||||||
--output type=image,name=${{ inputs.tags }},push=true
|
--output type=image,name=${{ inputs.tags }},push=true,registry.auth=$AUTH
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user