Skip to content
Snippets Groups Projects
Commit 92cb58f8 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Update default image to CI_REGISTRY_IMAGE

parent 6a24d126
No related branches found
No related tags found
No related merge requests found
default: default:
image: docker:20.10.17 image: $CI_REGISTRY_IMAGE:latest
variables: variables:
CAMPUS_IP: 138.26.48.47 CAMPUS_IP: 138.26.48.47
...@@ -40,6 +40,7 @@ workflow: ...@@ -40,6 +40,7 @@ workflow:
- if: $CI_PIPELINE_SOURCE == 'schedule' - if: $CI_PIPELINE_SOURCE == 'schedule'
build_docker_image: build_docker_image:
image: docker:20.10.17
stage: pre-build stage: pre-build
services: services:
- docker:20.10.16-dind - docker:20.10.16-dind
...@@ -68,7 +69,6 @@ build_docker_image: ...@@ -68,7 +69,6 @@ build_docker_image:
allow_failure: true allow_failure: true
build_image: build_image:
image: $CI_REGISTRY_IMAGE:latest
stage: build stage: build
environment: environment:
name: knightly name: knightly
...@@ -139,7 +139,6 @@ build_image: ...@@ -139,7 +139,6 @@ build_image:
dotenv: image.env dotenv: image.env
test: test:
image: $CI_REGISTRY_IMAGE:latest
stage: test stage: test
environment: environment:
name: knightly name: knightly
...@@ -193,7 +192,6 @@ test: ...@@ -193,7 +192,6 @@ test:
dotenv: instance.env dotenv: instance.env
deploy_review: deploy_review:
image: $CI_REGISTRY_IMAGE:latest
stage: deploy stage: deploy
script: script:
- echo "Deploy Review App" - echo "Deploy Review App"
...@@ -208,7 +206,6 @@ deploy_review: ...@@ -208,7 +206,6 @@ deploy_review:
- if: $CI_MERGE_REQUEST_ID - if: $CI_MERGE_REQUEST_ID
stop_review: stop_review:
image: $CI_REGISTRY_IMAGE:latest
stage: deploy stage: deploy
script: script:
- openstack server delete $NEW_INSTANCE_ID - openstack server delete $NEW_INSTANCE_ID
...@@ -224,7 +221,6 @@ stop_review: ...@@ -224,7 +221,6 @@ stop_review:
when: manual when: manual
deploy_knightly: deploy_knightly:
image: $CI_REGISTRY_IMAGE:latest
stage: deploy stage: deploy
environment: environment:
name: knightly name: knightly
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment