This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user