1
/ ssh-client-container-build-push (push) Failing after 11s

This commit is contained in:
Márcio Fernandes
2026-05-02 12:45:00 +00:00
parent 21b7f625c7
commit 3ba44942ff
2 changed files with 8 additions and 14 deletions
@@ -38,20 +38,15 @@ runs:
- name: run buildctl build and push
shell: bash
run: |
AUTH_INLINE=$(printf '%s:%s' "${{ inputs.registry_username }}" "${{ inputs.registry_password }}" | base64 -w0)
set -euo pipefail
echo "USERNAME RAW: ${{ inputs.registry_username }}"
echo "PASSWORD RAW: ${{ inputs.registry_password }}"
USER="${{ inputs.registry_username }}"
PASS="${{ inputs.registry_password }}"
read -r -d '' AUTH_JSON <<'EOF'
{
"auths": {
"__REGISTRY__": {
"auth": "__AUTH__"
}
}
}
EOF
AUTH_INLINE=$(printf '%s:%s' "$USER" "$PASS" | base64 -w0)
AUTH_JSON="${AUTH_JSON/__REGISTRY__/${{ inputs.registry_addr }}}"
AUTH_JSON="${AUTH_JSON/__AUTH__/$AUTH_INLINE}"
echo "AUTH_INLINE generated successfully"
buildctl \
--addr ${{ inputs.buildkit_addr }} \
@@ -21,8 +21,7 @@ jobs:
env:
RUNNER_TEMP: "${{ runner.temp }}"
WORKSPACE: "${{ gitea.workspace }}"
run: |
curl -fsSL https://git.limbosolutions.com/kb/gitea/raw/branch/main/cloud-scripts/setup-limbo-actions.sh | bash 2>&1