Compare commits

...

21 Commits

Author SHA1 Message Date
4122eb7e84 modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 15s
2026-03-14 22:16:36 +00:00
2ba7c636df odified: .gitea/workflows/ docker-image.deploy.yml 2026-03-14 22:09:12 +00:00
c14947b9c0 modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 16s
2026-03-14 22:05:48 +00:00
57541edbf3 modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 16s
2026-03-14 22:03:13 +00:00
7fdec78220 modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 17s
2026-03-14 22:02:10 +00:00
4d61c6e05a modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 17s
2026-03-14 22:00:51 +00:00
1ea13d8fef modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 18s
2026-03-14 21:59:02 +00:00
4685c41d1d modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 17s
2026-03-14 21:57:10 +00:00
4301aa3625 modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 18s
2026-03-14 21:54:59 +00:00
8af45a4f9a modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 17s
2026-03-14 21:53:12 +00:00
173b235c83 modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 18s
2026-03-14 21:50:21 +00:00
b1ecf478d8 modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 16s
2026-03-14 21:48:00 +00:00
a1370fc79d .
Some checks failed
/ build-image (push) Failing after 17s
2026-03-14 21:38:59 +00:00
dfec061cd9 modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 3s
2026-03-14 21:36:19 +00:00
ef75abf497 modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 3s
2026-03-14 21:35:20 +00:00
3eb8ace219 modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 3s
2026-03-14 21:34:36 +00:00
be722ddcbd modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 3s
2026-03-14 21:32:18 +00:00
f672c71a68 modified: .gitea/workflows/ docker-image.deploy.yml
Some checks failed
/ build-image (push) Failing after 3s
2026-03-14 21:30:56 +00:00
8b13274bf2 .
Some checks failed
/ build-image (push) Failing after 3s
2026-03-14 21:28:53 +00:00
204c04736b moved to int128
Some checks failed
/ build-image (push) Failing after 16s
2026-03-14 19:57:26 +00:00
518247d06f image build with Kaniko
Some checks failed
/ build-image (push) Failing after 14s
2026-03-14 19:54:50 +00:00

View File

@@ -6,28 +6,63 @@ on:
- "pbsclient/**" - "pbsclient/**"
schedule: schedule:
- cron: "0 16 * * Sun" - cron: "0 16 * * Sun"
jobs: jobs:
build-docker-image: build-image:
runs-on: ubuntu-latest runs-on: oci-image-builder
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Log in to git.limbosolutions.com docker registry - name: Create non-root user for BuildKit
uses: docker/login-action@v3 run: |
with: adduser -D -u 1000 builder
registry: git.limbosolutions.com
username: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_USERNAME }} - name: Start BuildKit (rootless)
password: ${{ secrets.GITLIMBO_DOCKER_REGISTRY_PASSWORD }} run: |
su builder -c '
export XDG_RUNTIME_DIR=/tmp/buildkit
mkdir -p $XDG_RUNTIME_DIR
buildkitd \
--root /home/builder/.local/share/buildkit \
--addr unix://$XDG_RUNTIME_DIR/buildkitd.sock \
>/home/builder/buildkitd.log 2>&1 &
'
sleep 3
- name: Check BuildKit daemon
run: |
ls -l /run/buildkit
cat /tmp/buildkitd.log || tru
- name: Authenticate to Gitea registry
run: |
mkdir -p ~/.docker
AUTH=$(printf "%s" "${{ secrets.GITLIMBO_DOCKER_REGISTRY_USERNAME }}:${{ secrets.GITLIMBO_DOCKER_REGISTRY_PASSWORD }}" | base64 -w 0)
printf '{"auths":{"git.limbosolutions.com":{"auth":"%s"}}}' "$AUTH" > ~/.docker/config.json
- name: Debug paths
run: |
echo "PWD: $(pwd)"
ls -al
ls -al ./pbsclient || echo "pbsclient missing"
ls -al ./pbsclient/docker || echo "docker dir missing"
- name: Build and push image
run: |
su builder -c '
export XDG_RUNTIME_DIR=/tmp/buildkit
buildctl \
--addr unix://$XDG_RUNTIME_DIR/buildkitd.sock \
build \
--frontend=dockerfile.v0 \
--local context=./pbsclient \
--local dockerfile=./pbsclient/docker \
--opt filename=Dockerfile \
--output type=image,name=git.limbosolutions.com/kb/pbsclient:latest,push=true '
- name: Build and push Docker images
id: push
uses: docker/build-push-action@v6
with:
context: ${{gitea.workspace}}/pbsclient
file: ${{gitea.workspace}}/pbsclient/docker/Dockerfile
push: true
tags: git.limbosolutions.com/kb/pbsclient