modified: .gitea/actions/buildkit-build-push-dev/action.yaml
/ ssh-client-container-build-push (push) Successful in 12s

modified:   .gitea/workflows/ssh-client-build-deploy.yaml
This commit is contained in:
Márcio Fernandes
2026-05-02 13:14:46 +00:00
parent b5207d2cca
commit fd01489123
2 changed files with 2 additions and 5 deletions
@@ -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"
@@ -17,6 +17,7 @@ jobs:
uses: actions/checkout@v2
- name: Fetch limbo public actions
env:
RUNNER_TEMP: "${{ runner.temp }}"
WORKSPACE: "${{ gitea.workspace }}"