Add workflow to build image
All checks were successful
Build Docker Image / nomad-scale (push) Successful in 11s
Build Docker Image / ceph-rbd-backup (push) Successful in 2m29s

This commit is contained in:
Lol3rrr
2026-10-02 23:35:34 +02:00
parent 0105c98ce5
commit 2ace4c1c00

View File

@@ -9,7 +9,7 @@ permissions:
packages: write packages: write
jobs: jobs:
docker: nomad-scale:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -34,3 +34,29 @@ jobs:
tags: | tags: |
gitea.lol3r.com/leon/nomad-scale:latest gitea.lol3r.com/leon/nomad-scale:latest
gitea.lol3r.com/leon/nomad-scale:${{ gitea.sha }} 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 }}