Actualiser .gitea/workflows/deploy-verso.yml
Build and Deploy Verso / deploy (push) Successful in 9m38s

This commit is contained in:
2026-05-29 19:39:37 +00:00
parent ba5d159f28
commit ecbf7d4bdc
+14 -4
View File
@@ -7,16 +7,17 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
IMAGE: registry.alocoq.fr/verso:latest
REPO_URL: https://git.alocoq.fr/alois/verso.git REPO_URL: https://git.alocoq.fr/alois/verso.git
BASE_IMAGE: registry.alocoq.fr/verso-base:latest
IMAGE: registry.alocoq.fr/verso:latest
jobs: jobs:
deploy: deploy:
runs-on: native runs-on: native
timeout-minutes: 90 timeout-minutes: 180
steps: steps:
- name: Build and push image with BuildKit - name: Build and push Verso images with BuildKit
run: | run: |
kubectl -n ci delete job verso-buildkit --ignore-not-found=true kubectl -n ci delete job verso-buildkit --ignore-not-found=true
@@ -56,12 +57,21 @@ jobs:
- | - |
set -eux set -eux
buildctl-daemonless.sh build \
--frontend=dockerfile.v0 \
--local context=/workspace/repo \
--local dockerfile=/workspace/repo/server-ce \
--opt filename=Dockerfile-base \
--output type=image,name=registry.alocoq.fr/verso-base:latest,push=true
buildctl-daemonless.sh build \ buildctl-daemonless.sh build \
--frontend=dockerfile.v0 \ --frontend=dockerfile.v0 \
--local context=/workspace/repo \ --local context=/workspace/repo \
--local dockerfile=/workspace/repo/server-ce \ --local dockerfile=/workspace/repo/server-ce \
--opt filename=Dockerfile \ --opt filename=Dockerfile \
--opt build-arg:OVERLEAF_BASE_TAG=registry.alocoq.fr/verso-base:latest \
--output type=image,name=registry.alocoq.fr/verso:latest,push=true --output type=image,name=registry.alocoq.fr/verso:latest,push=true
volumeMounts: volumeMounts:
- name: workspace - name: workspace
mountPath: /workspace mountPath: /workspace
@@ -73,7 +83,7 @@ jobs:
- name: Wait for build - name: Wait for build
run: | run: |
kubectl -n ci wait --for=condition=complete job/verso-buildkit --timeout=5400s kubectl -n ci wait --for=condition=complete job/verso-buildkit --timeout=10800s
- name: Show logs - name: Show logs
if: always() if: always()