ci: switch to gitea
Some checks failed
Build container / base-build (push) Failing after 48s
Build container / go-build (push) Has been skipped
Build container / infra-build (push) Has been skipped
Build container / kali-build (push) Has been skipped

This commit is contained in:
Job
2025-10-16 16:55:22 +02:00
parent 0f95243db5
commit bfcaa542ed

View File

@@ -1,6 +1,7 @@
name: Build container
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
schedule:
@@ -8,7 +9,7 @@ on:
jobs:
base-build:
runs-on: ubuntu-24.04
runs-on: job-latest
steps:
- &clone_repo
name: Clone repo
@@ -20,19 +21,19 @@ jobs:
name: Login to Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push base container
uses: docker/build-push-action@v5
with:
context: ./containers/base
file: ./containers/base/Containerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/base:latest
tags: git.plabble.org/${{ github.repository_owner }}/base:${{ github.ref_name }}
go-build:
runs-on: ubuntu-24.04
runs-on: job-latest
needs: base-build
steps:
- *clone_repo
@@ -44,10 +45,10 @@ jobs:
context: ./containers/go
file: ./containers/go/Containerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/go:latest
tags: git.plabble.org/${{ github.repository_owner }}/go:${{ github.ref_name }}
infra-build:
runs-on: ubuntu-24.04
runs-on: job-latest
needs: base-build
steps:
- *clone_repo
@@ -59,10 +60,10 @@ jobs:
context: ./containers/infra
file: ./containers/infra/Containerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/infra:latest
tags: git.plabble.org/${{ github.repository_owner }}/infra:${{ github.ref_name }}
kali-build:
runs-on: ubuntu-24.04
runs-on: job-latest
needs: base-build
steps:
- *clone_repo
@@ -74,4 +75,4 @@ jobs:
context: ./containers/kali
file: ./containers/kali/Containerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/kali:latest
tags: git.plabble.org/${{ github.repository_owner }}/kali:${{ github.ref_name }}