From fd014891237a15d92f81b6d02a9db2e950996e97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Sat, 2 May 2026 13:14:46 +0000 Subject: [PATCH] modified: .gitea/actions/buildkit-build-push-dev/action.yaml modified: .gitea/workflows/ssh-client-build-deploy.yaml --- .gitea/actions/buildkit-build-push-dev/action.yaml | 6 +----- .gitea/workflows/ssh-client-build-deploy.yaml | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitea/actions/buildkit-build-push-dev/action.yaml b/.gitea/actions/buildkit-build-push-dev/action.yaml index 387d30b..150d3c2 100644 --- a/.gitea/actions/buildkit-build-push-dev/action.yaml +++ b/.gitea/actions/buildkit-build-push-dev/action.yaml @@ -46,7 +46,6 @@ runs: AUTH_INLINE=$(printf '%s:%s' "$USER" "$PASS" | base64 -w0) echo "AUTH_INLINE generated successfully" - # Build JSON safely read -r -d '' AUTH_JSON <<'EOF' { "auths": { @@ -57,14 +56,12 @@ runs: } EOF - # Escape slashes in registry REG_ESCAPED="${{ inputs.registry_addr }}" REG_ESCAPED="${REG_ESCAPED//\//\\/}" AUTH_JSON="${AUTH_JSON/__REGISTRY__/$REG_ESCAPED}" AUTH_JSON="${AUTH_JSON/__AUTH__/$AUTH_INLINE}" - # FIX: avoid unbound variable BUILD_ARGS="${{ inputs.build_args:-}}" BUILD_ARG_FLAGS="" @@ -84,5 +81,4 @@ runs: --local dockerfile=${{ inputs.dockerfile }} \ --opt filename=${{ inputs.filename }} \ $BUILD_ARG_FLAGS \ - --output type=image,name=${{ inputs.tags }},push=true" - + --output type=image,name=${{ inputs.tags }},push=true,registry.config="$AUTH_JSON" diff --git a/.gitea/workflows/ssh-client-build-deploy.yaml b/.gitea/workflows/ssh-client-build-deploy.yaml index d1a1902..6d3e91a 100644 --- a/.gitea/workflows/ssh-client-build-deploy.yaml +++ b/.gitea/workflows/ssh-client-build-deploy.yaml @@ -17,6 +17,7 @@ jobs: uses: actions/checkout@v2 - name: Fetch limbo public actions + env: RUNNER_TEMP: "${{ runner.temp }}" WORKSPACE: "${{ gitea.workspace }}"