Add Dockerfile build action
All checks were successful
deployment / deployment (push) Successful in 1m50s
All checks were successful
deployment / deployment (push) Successful in 1m50s
This commit is contained in:
parent
111a0f6e45
commit
277b2aec57
1 changed files with 24 additions and 0 deletions
24
.forgejo/workflows/deployment.yaml
Normal file
24
.forgejo/workflows/deployment.yaml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
name: deployment
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deployment:
|
||||||
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: node:bookworm
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Build inventory
|
||||||
|
uses: https://codeberg.org/umglurf/kaniko-action@main
|
||||||
|
with:
|
||||||
|
cache: true
|
||||||
|
cache_repo: git.koeln.ccc.de/${{ github.repository }}/cache
|
||||||
|
push: 'true'
|
||||||
|
context: /workspace/snoopy/in-c4/
|
||||||
|
credentials: |
|
||||||
|
git.koeln.ccc.de=snoopy:${{ secrets.REGISTRY_WRITE }}
|
||||||
|
destinations: |
|
||||||
|
git.koeln.ccc.de/${{ github.repository }}/in-c4:latest
|
Loading…
Reference in a new issue