Actualiser .gitea/workflows/deploy-verso.yml
Build and Deploy Verso / deploy (push) Failing after 1s
Build and Deploy Verso / deploy (push) Failing after 1s
This commit is contained in:
@@ -47,20 +47,28 @@ jobs:
|
|||||||
mountPath: /workspace
|
mountPath: /workspace
|
||||||
|
|
||||||
containers:
|
containers:
|
||||||
- name: kaniko
|
- name: buildkit
|
||||||
image: gcr.io/kaniko-project/executor:debug
|
image: moby/buildkit:latest
|
||||||
args:
|
securityContext:
|
||||||
- --context=dir:///workspace/repo/server-ce
|
privileged: true
|
||||||
- --dockerfile=/workspace/repo/server-ce/Dockerfile
|
command:
|
||||||
- --destination=registry.alocoq.fr/verso:latest
|
- sh
|
||||||
|
- -c
|
||||||
|
- |
|
||||||
|
set -eux
|
||||||
|
buildctl-daemonless.sh build \
|
||||||
|
--frontend=dockerfile.v0 \
|
||||||
|
--local context=/workspace/repo \
|
||||||
|
--local dockerfile=/workspace/repo/server-ce \
|
||||||
|
--opt filename=Dockerfile \
|
||||||
|
--output type=image,name=registry.alocoq.fr/verso:latest,push=true
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: workspace
|
- name: workspace
|
||||||
mountPath: /workspace
|
mountPath: /workspace
|
||||||
|
volumes:
|
||||||
volumes:
|
- name: workspace
|
||||||
- name: workspace
|
emptyDir: {}
|
||||||
emptyDir: {}
|
EOF
|
||||||
EOF
|
|
||||||
|
|
||||||
- name: Wait for build
|
- name: Wait for build
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user