mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +00:00
build(docker): add missing $ to get CP_VERSION's environment variable
This commit is contained in:
parent
3bb7572abb
commit
8c4f0675c1
@ -26,7 +26,7 @@ docker-build-main-release:
|
|||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
script:
|
script:
|
||||||
- cp ${DOCKER_HUB_CONFIG} /kaniko/.docker/config.json
|
- 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/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
|
- /kaniko/executor --context . --dockerfile docker/production/app/Dockerfile --destination ${DOCKER_IMAGE_APP}:${CP_VERSION} --destination ${DOCKER_IMAGE_APP}:latest
|
||||||
needs:
|
needs:
|
||||||
@ -43,7 +43,7 @@ docker-build-alpha-beta-release:
|
|||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
script:
|
script:
|
||||||
- cp ${DOCKER_HUB_CONFIG} /kaniko/.docker/config.json
|
- 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/web-server/Dockerfile --destination ${DOCKER_IMAGE_WEB_SERVER}:${CP_VERSION}
|
||||||
- /kaniko/executor --context . --dockerfile docker/production/app/Dockerfile --destination ${DOCKER_IMAGE_APP}:${CP_VERSION}
|
- /kaniko/executor --context . --dockerfile docker/production/app/Dockerfile --destination ${DOCKER_IMAGE_APP}:${CP_VERSION}
|
||||||
needs:
|
needs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user