Skip to content
Snippets Groups Projects
Commit 3e9935fd authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

add test deploy to CI

parent a575afef
Branches
Tags 2.0.0-alpha-10
No related merge requests found
Pipeline #11953 passed
stages:
- build
- test_deploy
image: docker:20.10.8
......@@ -28,3 +29,11 @@ build_nginx:
- docker pull $CI_REGISTRY_IMAGE:test-nginx || true
- docker build --cache-from $CI_REGISTRY_IMAGE:test-nginx -t $IMAGE_TAG_NGINX . -f Dockerfile.nginx
- docker push $IMAGE_TAG_NGINX
deploy:
stage: test_deploy
when: manual
before_script:
- apk add --update curl && rm -rf /var/cache/apk/*
script:
- curl -k -X POST $DEPLOY_HOOK
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment