🚚 Move forgejo instance into subdirectory

This commit is contained in:
Quentin Campos 2026-04-21 09:09:25 +02:00
parent 6eecb351fc
commit 015bfdbd92
7 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,15 @@
name: Build avec Kaniko
on: [push]
jobs:
kaniko-build:
runs-on: k8s # Doit correspondre au label dans ta configmap
container:
image: gcr.io/kaniko-project/executor:debug
steps:
- name: Build et Push
run: |
/kaniko/executor \
--context "${{ github.workspace }}" \
--dockerfile "${{ github.workspace }}/Dockerfile" \
--destination "git.qcampos.fr/${{ github.repository }}:latest"

5
Dockerfile Normal file
View file

@ -0,0 +1,5 @@
FROM python:alpine
RUN ["touch", "foo.txt"]
CMD ["python", "-c", "'import this'"]