diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index bda74bc..39c9934 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -47,10 +47,10 @@ jobs: mkdir -p /workspace/image cp -a /work/_site/. /workspace/image/ - cat > /workspace/image/Dockerfile <<'DOCKER' + cat > /workspace/Dockerfile <<'DOCKER' FROM nginx:alpine RUN rm -rf /usr/share/nginx/html/* - COPY . /usr/share/nginx/html/ + COPY image/ /usr/share/nginx/html/ DOCKER volumeMounts: @@ -61,8 +61,8 @@ jobs: - name: kaniko image: gcr.io/kaniko-project/executor:debug args: - - --context=dir:///workspace/image - - --dockerfile=/workspace/image/Dockerfile + - --context=dir:///workspace + - --dockerfile=/workspace/Dockerfile - --destination=registry.alocoq.fr/coqresearch:latest volumeMounts: - name: workspace