Files
docker-images/.github/workflows/docker.yaml
Lol3rrr 2ace4c1c00
All checks were successful
Build Docker Image / nomad-scale (push) Successful in 11s
Build Docker Image / ceph-rbd-backup (push) Successful in 2m29s
Add workflow to build image
2026-10-02 23:35:34 +02:00

63 lines
1.5 KiB
YAML

name: Build Docker Image
on:
push:
branches:
- main
permissions:
packages: write
jobs:
nomad-scale:
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: ./nomad-scale
file: ./nomad-scale/Dockerfile
push: true
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 }}