in-c4/.forgejo/workflows/deployment.yaml

25 lines
659 B
YAML
Raw Normal View History

2024-04-30 02:05:36 +02:00
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