x
/ build-push-image (push) Failing after 17s

This commit is contained in:
Márcio Fernandes
2026-05-03 21:25:07 +00:00
parent ece21d3def
commit 9dd203391e
+25 -1
View File
@@ -1,7 +1,7 @@
on: on:
push: push:
branches: branches:
- main - feature/oci-cd
schedule: schedule:
- cron: '@weekly' # once per week - cron: '@weekly' # once per week
@@ -22,6 +22,30 @@ jobs:
run: | run: |
curl -fsSL https://git.limbosolutions.com/kb/gitea/raw/branch/main/cloud-scripts/setup-limbo-actions.sh | bash 2>&1 curl -fsSL https://git.limbosolutions.com/kb/gitea/raw/branch/main/cloud-scripts/setup-limbo-actions.sh | bash 2>&1
- name: run buildctl build and push
shell: bash
run: |
set -euo pipefail
DOCKER_CONFIG="${RUNNER_TEMP}/.buildctl_docker"
mkdir -p "$DOCKER_CONFIG"
# clean up
trap 'rm -rf "$DOCKER_CONFIG"' EXIT
USER='${{ secrets.OCI_LIMBO_REGISTRY_DEVCONTAINERS_USERNAME }}'
PASS='${{ secrets.OCI_LIMBO_REGISTRY_DEVCONTAINERS_PASSWORD }}'
AUTH=$(printf '%s:%s' "$USER" "$PASS" | base64 -w0)
cat > "/root/tmp_config.json" <<EOF
{
"auths": {
"${{ inputs.registry_addr }}": {
"auth": "$AUTH"
}
}
}
EOF
- name: Build and push Image - name: Build and push Image
uses: ./.gitea/limbo_actions/buildkit-build-push uses: ./.gitea/limbo_actions/buildkit-build-push