From 2ace4c1c0089395ce75b1f1afa2cadb237fa4bd5 Mon Sep 17 00:00:00 2001 From: Lol3rrr Date: Fri, 2 Oct 2026 23:35:34 +0200 Subject: [PATCH] Add workflow to build image --- .github/workflows/docker.yaml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 2bb3726..2decaf4 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -9,7 +9,7 @@ permissions: packages: write jobs: - docker: + nomad-scale: runs-on: ubuntu-latest steps: @@ -34,3 +34,29 @@ jobs: tags: | gitea.lol3r.com/leon/nomad-scale:latest gitea.lol3r.com/leon/nomad-scale:${{ gitea.sha }} + + ceph-rbd-backup: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Log in to Gitea Container Registry + uses: docker/login-action@v3 + with: + registry: gitea.lol3r.com + username: leon + password: ${{ secrets.DOCKER_PAT }} + + - name: Build and push - nomad-scale + uses: docker/build-push-action@v6 + with: + context: ./ceph-rbd-backup + file: ./ceph-rbd-backup/Dockerfile + push: true + tags: | + gitea.lol3r.com/leon/ceph-rbd-backup:latest + gitea.lol3r.com/leon/ceph-rbd-backup:${{ gitea.sha }}