move to oci.limbosolutions.com/public/cloudflare-updatedns:latest
/ build-push-image (push) Failing after 12s

This commit is contained in:
Márcio Fernandes
2026-05-03 22:06:37 +00:00
parent 77e2b50600
commit 5dd4a40606
2 changed files with 34 additions and 21 deletions
+29 -16
View File
@@ -1,27 +1,40 @@
on:
push
push:
branches:
- main
schedule:
- cron: '@weekly' # once per week
jobs:
build-docker-image:
runs-on: ubuntu-latest
build-push-image:
runs-on: ["oci-image-builder", "amd64"]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Log in to git.limbosolutions.com docker registry
uses: docker/login-action@v3
with:
registry: git.limbosolutions.com
username: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_PASSWORD }}
- name: Fetch limbo public actions
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
- name: Build and push Docker images
id: push
uses: docker/build-push-action@v6
- name: Build and push Image
uses: ./.gitea/limbo_actions/buildkit-build-push
with:
context: ${{gitea.workspace}}
file: ${{gitea.workspace}}/Dockerfile
push: true
tags: git.limbosolutions.com/mylimbo/cloudflare-updatedns:latest
tags: oci.limbosolutions.com/public/cloudflare-updatedns:latest
registry_addr: ${{ vars.OCI_LIMBO_REGISTRY_ADDRESS }}
registry_username: ${{ secrets.OCI_LIMBO_REGISTRY_PUBLIC_USERNAME }}
registry_password: ${{ secrets.OCI_LIMBO_REGISTRY_PUBLIC_PASSWORD }}
buildkit_addr: ${{ vars.BUILDKIT_ADDRESS }}
dockerfile: ${{gitea.workspace}}/devops
context: ${{gitea.workspace}}/devops
+2 -2
View File
@@ -4,7 +4,7 @@
``` bash
# requires .env file check script for required variables
docker run --name mylimbo-cloudflare-updatedns --env-file ./.env git.limbosolutions.com/mylimbo/cloudflare-updatedns:latest
docker run --name mylimbo-cloudflare-updatedns --env-file ./.env oci.limbosolutions.com/public/cloudflare-updatedns:latest
```
## execute direcly without docker
@@ -20,5 +20,5 @@ bash -c ./src/update-ip.sh
## build local image
``` bash
docker build -t git.limbosolutions.com/mylimbo/cloudflare-updatedns:latest .
docker build -t oci.limbosolutions.com/public/cloudflare-updatedns:local-latest .
```