🚚 Move forgejo instance into subdirectory
This commit is contained in:
parent
6eecb351fc
commit
015bfdbd92
7 changed files with 20 additions and 0 deletions
15
.forgejo/workflows/build.yaml
Normal file
15
.forgejo/workflows/build.yaml
Normal 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
5
Dockerfile
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
FROM python:alpine
|
||||
|
||||
RUN ["touch", "foo.txt"]
|
||||
|
||||
CMD ["python", "-c", "'import this'"]
|
||||
Loading…
Reference in a new issue