feature/new-oci-deployment #2

Merged
marcio.fernandes merged 30 commits from feature/new-oci-deployment into main 2026-05-03 01:17:48 +00:00
2 changed files with 13 additions and 6 deletions
Showing only changes of commit be050a27fb - Show all commits
@@ -40,10 +40,18 @@ runs:
run: |
AUTH_INLINE=$(printf "%s:%s" "${{ inputs.registry_username }}" "${{ inputs.registry_password }}" | base64 -w0)
AUTH_JSON=$(jq -n \
--arg reg "${{ inputs.registry_addr }}" \
--arg auth "$AUTH_INLINE" \
'{auths: {($reg): {auth: $auth}}}')
read -r -d '' AUTH_JSON <<'EOF'
{
"auths": {
"__REGISTRY__": {
"auth": "__AUTH__"
}
}
}
EOF
AUTH_JSON="${AUTH_JSON/__REGISTRY__/${{ inputs.registry_addr }}}"
AUTH_JSON="${AUTH_JSON/__AUTH__/$AUTH_INLINE}"
buildctl \
--addr ${{ inputs.buildkit_addr }} \
@@ -22,7 +22,6 @@ jobs:
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