Add workflow to build image
This commit is contained in:
28
.github/workflows/docker.yaml
vendored
28
.github/workflows/docker.yaml
vendored
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user