Files
docker-images/.github/workflows/docker.yaml
Lol3rrr 505e5c4cdb
All checks were successful
Build Docker Image / nomad-scale (push) Successful in 11s
Build Docker Image / ceph-rbd-backup (push) Successful in 26s
Build Docker Image / gcp-backup-upload (push) Successful in 5m2s
Add docker image for uploading a file to gcp
2026-10-03 14:25:27 +02:00

89 lines
2.2 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 - ceph-rbd-backup
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 }}
gcp-backup-upload:
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 - gcp-backup-upload
uses: docker/build-push-action@v6
with:
context: ./gcp-backup-upload
file: ./gcp-backup-upload/Dockerfile
push: true
tags: |
gitea.lol3r.com/leon/gcp-backup-upload:latest
gitea.lol3r.com/leon/gcp-backup-upload:${{ gitea.sha }}