Commit 0dce90fe authored by Matt Wise's avatar Matt Wise
Browse files

Update aws.yml

parent 583a8353
Pipeline #31759 passed with stage
in 18 seconds
......@@ -128,13 +128,13 @@ aws-containerize:
needs: ['compile-and-unit-test']
script:
- |
if [ -z $BUILDER_DOCKERFILE_PATH ] && [ -z $RUNTIME_DOCKERFILE_PATH ]; then
if [ -z $AWS_BUILDER_DOCKERFILE_PATH ] && [ -z $AWS_RUNTIME_DOCKERFILE_PATH ]; then
echo Building BUILD_DIR/Dockerfile container
docker build -f $BUILD_DIR/Dockerfile -t $LOCAL_IMAGE_TAG .;
else
echo Building BUILDER->RUNTIME containers;
docker build -t builder:latest --file $BUILDER_DOCKERFILE_PATH .;
docker build -t $LOCAL_IMAGE_TAG --file $RUNTIME_DOCKERFILE_PATH --build-arg docker_builder_image=builder .;
docker build -t builder:latest --file $AWS_BUILDER_DOCKERFILE_PATH .;
docker build -t $LOCAL_IMAGE_TAG --file $AWS_RUNTIME_DOCKERFILE_PATH --build-arg docker_builder_image=builder .;
fi
# Push to the local container registry
......
Markdown is supported
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