Skip to content
Snippets Groups Projects
Commit ef3e0a18 authored by František Řezníček's avatar František Řezníček
Browse files

Update .gitlab-ci.yml

parent c63941ad
No related branches found
No related tags found
No related merge requests found
...@@ -15,12 +15,11 @@ before_script: ...@@ -15,12 +15,11 @@ before_script:
.upstream-container-release-downstream: &upstream-container-release-downstream .upstream-container-release-downstream: &upstream-container-release-downstream
stage: upstream-container-release-downstream stage: upstream-container-release-downstream
script: | script: |
export BUILD_DATE=$(date +%Y-%m-%dT%H:%M:%S) export APP_NAME="$(basename "${CONTAINER_IMAGE_NAME}")"
... ...
envsubst < upstream-app/Dockerfile.tmpl > upstream-app/Dockerfile envsubst < upstream-app/Dockerfile.tmpl > upstream-app/Dockerfile
echo "Building image ${DEST_IMAGE_NAME}" echo "Build & release image ${DEST_IMAGE_NAME}"
docker build --pull -t "${DEST_IMAGE_NAME}" upstream-app docker build --pull -t "${DEST_IMAGE_NAME}" upstream-app
echo "Releasing ${DEST_IMAGE_NAME}"
docker push "${DEST_IMAGE_NAME}" docker push "${DEST_IMAGE_NAME}"
artifacts: artifacts:
expire_in: 1 mo expire_in: 1 mo
......
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