Verified Commit 395036d8 authored by Sevan Murriguian-Watrin's avatar Sevan Murriguian-Watrin
Browse files

ci: remove dind from .gitlab-ci

parent 53328466
Pipeline #6522 passed with stages
in 17 seconds
......@@ -4,22 +4,13 @@ stages:
.template: &template
stage: site-publisher
image: docker:stable
services:
- docker:dind
image:
name: banst/awscli:1.18.76
entrypoint: [""]
dependencies:
- site-builder
script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY
- |
docker run \
--rm \
-e AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} \
-e AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} \
-e CRI_BUCKET=${CRI_BUCKET} \
-v $(pwd)/site:/srv/site \
registry.cri.epita.fr/cri/docker/arch-cri/master \
aws s3 --endpoint-url https://s3.cri.epita.fr/ sync /srv/site $CRI_BUCKET --acl public-read --delete
- aws s3 --endpoint-url https://s3.cri.epita.fr/ sync $(pwd)/site $CRI_BUCKET --acl public-read --delete
site-builder:
stage: site-builder
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment