modified: .gitea/limbo_actions/buildkit-build-push/action.yaml
/ build-docker-image (push) Successful in 20s

This commit is contained in:
Márcio Fernandes
2026-05-01 23:53:42 +00:00
parent 980314cc1a
commit 12e7241af6
@@ -35,9 +35,6 @@ inputs:
runs:
using: "composite"
steps:
- name: run buildctl build and push
shell: bash
run: |
- name: run buildctl build and push
shell: bash
run: |
@@ -51,7 +48,6 @@ runs:
# setup file docker config (auth) temp file
AUTH=$(printf "%s" "${{ inputs.registry_username }}:${{ inputs.registry_password }}" | base64 -w 0)
cat > "$DOCKER_CONFIG_DIR/config.json" <<EOF
{
"auths": {
@@ -71,6 +67,7 @@ runs:
echo "Using build args: $BUILD_ARG_FLAGS"
# Run BuildKit build
DOCKER_CONFIG=$DOCKER_CONFIG_DIR buildctl \
--addr ${{ inputs.buildkit_addr }} \
build \
@@ -79,4 +76,6 @@ runs:
--local dockerfile=${{ inputs.dockerfile }} \
--opt filename=${{ inputs.filename }} \
$BUILD_ARG_FLAGS \
--output type=image,name=${{ inputs.tags }},push=true,registry.auth=$AUTH
--output type=image,name=${{ inputs.tags }},push=true