system/.forgejo/workflows/build.yaml

18 lines
543 B
YAML

name: Build
on: [push]
jobs:
build:
runs-on: k8s
steps:
- uses: actions/checkout@v4
- uses: https://git.qcampos.fr/system/actions/setup-kaniko@main
- name: Build and push
uses: docker://gcr.io/kaniko-project/executor:debug
with:
args: >-
--context dir:///github/workspace
--destination git.qcampos.fr/${{ github.repository }}-backend:latest
--destination git.qcampos.fr/${{ github.repository }}-backend:${{ github.sha }}
--skip-tls-verify