try static linking / correct path for Application

This commit is contained in:
Thomas Schleicher 2024-10-22 20:08:02 +02:00
parent 93d02a2cb0
commit 75fca0369c
3 changed files with 5 additions and 4 deletions

View file

@ -37,7 +37,8 @@ build_job:
package_job:
stage: package
script:
- docker build -t ${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG} ${BUILD_DIR}
- cd ${BUILD_DIR}
- docker build -t ${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG} .
- docker save ${DOCKER_IMAGE_NAME}:${DOCKER_IMAGE_TAG} -o ${DOCKER_IMAGE_NAME}.tar
only:
- main