Skip to content
Snippets Groups Projects
Commit dda639db authored by Quentin Bramas's avatar Quentin Bramas
Browse files

ci

parent c3bba215
Branches master
No related merge requests found
Pipeline #174651 passed with stage
in 1 minute and 24 seconds
......@@ -14,14 +14,14 @@ build-docker-master:
script:
- echo "Building Server..." # MAKE SURE NO SPACE ON EITHER SIDE OF = IN THE FOLLOWING LINE
- export CONTAINER_FULL_IMAGE_NAME_WITH_TAG=${IMAGE_NAME_WITH_REGISTRY_PREFIX}_server:$COMMIT_HASH
- export CONTAINER_FULL_IMAGE_NAME_WITH_TAG=${IMAGE_NAME_WITH_REGISTRY_PREFIX}/server:$COMMIT_HASH
- docker build -f ./Dockerfile --pull -t built-image-name .
- echo "new tag, $CONTAINER_FULL_IMAGE_NAME_WITH_TAG"
- docker tag built-image-name "$CONTAINER_FULL_IMAGE_NAME_WITH_TAG"
- docker push "$CONTAINER_FULL_IMAGE_NAME_WITH_TAG"
- echo "Building Client..." # MAKE SURE NO SPACE ON EITHER SIDE OF = IN THE FOLLOWING LINE
- export CONTAINER_FULL_IMAGE_NAME_WITH_TAG=${IMAGE_NAME_WITH_REGISTRY_PREFIX}_client:$COMMIT_HASH
- export CONTAINER_FULL_IMAGE_NAME_WITH_TAG=${IMAGE_NAME_WITH_REGISTRY_PREFIX}/client:$COMMIT_HASH
- docker build -f ./Dockerfile --pull -t built-image-name . -f Dockerfile-client
- echo "new tag, $CONTAINER_FULL_IMAGE_NAME_WITH_TAG"
- docker tag built-image-name "$CONTAINER_FULL_IMAGE_NAME_WITH_TAG"
......
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