Skip to content
Snippets Groups Projects
Commit db3ea4ac authored by Yannis Barlas's avatar Yannis Barlas
Browse files

Update file .gitlab-ci.yml

parent 49fec571
No related branches found
No related tags found
No related merge requests found
Pipeline #61115 failed
...@@ -8,11 +8,11 @@ variables: ...@@ -8,11 +8,11 @@ variables:
BUILD_PATH: . BUILD_PATH: .
stages: stages:
- Build demo - Build
- Deploy demo - Deploy
build demo: build demo:
stage: Build demo stage: Build
image: docker:26 image: docker:26
services: services:
- docker:26-dind - docker:26-dind
...@@ -28,6 +28,19 @@ build demo: ...@@ -28,6 +28,19 @@ build demo:
$BUILD_PATH $BUILD_PATH
- docker push $IMAGE_NAME_DEMO:$CI_COMMIT_SHA - docker push $IMAGE_NAME_DEMO:$CI_COMMIT_SHA
- docker push $IMAGE_NAME_DEMO:latest - docker push $IMAGE_NAME_DEMO:latest
only:
- master
pages:
stage: Deploy
image: $IMAGE_NAME_DEPLOY
script:
- mv _build public
artifacts:
paths:
public
only:
- master
# .build demo image: # .build demo image:
# extends: .build production # extends: .build production
......
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