diff --git a/docker/production/.gitlab-ci.yml b/docker/production/.gitlab-ci.yml index 8297344e..a0f130c0 100644 --- a/docker/production/.gitlab-ci.yml +++ b/docker/production/.gitlab-ci.yml @@ -26,7 +26,7 @@ docker-build-main-release: entrypoint: [""] script: - cp ${DOCKER_HUB_CONFIG} /kaniko/.docker/config.json - - export CP_VERSION=(cat CP_VERSION.env) + - export CP_VERSION=$(cat CP_VERSION.env) - /kaniko/executor --context . --dockerfile docker/production/web-server/Dockerfile --destination ${DOCKER_IMAGE_WEB_SERVER}:${CP_VERSION} --destination ${DOCKER_IMAGE_WEB_SERVER}:latest - /kaniko/executor --context . --dockerfile docker/production/app/Dockerfile --destination ${DOCKER_IMAGE_APP}:${CP_VERSION} --destination ${DOCKER_IMAGE_APP}:latest needs: @@ -43,7 +43,7 @@ docker-build-alpha-beta-release: entrypoint: [""] script: - cp ${DOCKER_HUB_CONFIG} /kaniko/.docker/config.json - - export CP_VERSION=(cat CP_VERSION.env) + - export CP_VERSION=$(cat CP_VERSION.env) - /kaniko/executor --context . --dockerfile docker/production/web-server/Dockerfile --destination ${DOCKER_IMAGE_WEB_SERVER}:${CP_VERSION} - /kaniko/executor --context . --dockerfile docker/production/app/Dockerfile --destination ${DOCKER_IMAGE_APP}:${CP_VERSION} needs: