move to oci.limbosolutions.com/public/cloudflare-updatedns:latest
/ build-push-image (push) Failing after 12s
/ build-push-image (push) Failing after 12s
This commit is contained in:
@@ -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: Build and push Docker images
|
||||
id: push
|
||||
uses: docker/build-push-action@v6
|
||||
- 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 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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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 .
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user