Skip to content
Snippets Groups Projects
Unverified Commit 392710a2 authored by r0zehnal0vak's avatar r0zehnal0vak
Browse files

fix pipeline

parent 8a5dc891
No related branches found
No related tags found
1 merge request!13fix gpumon metric generation and update image
Pipeline #632955 failed
......@@ -39,11 +39,19 @@ build-image:
stage: build-image
variables:
EXTRA_BUILD_ARGS: '--build-arg VERSION=${VERSION}'
script:
- tar czf custom-metrics-generator_files.tgz entrypoint.sh dependencies*.txt src/*.sh src/*/*.sh CHANGELOG.md Dockerfile
- echo "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}" > container-release.uri
- docker build --pull -t "$(head -1 container-release.uri)" \
${EXTRA_BUILD_ARGS} \
"${CONTEXT_DIR}"
- docker push "$(head -1 container-release.uri)"
artifacts:
expire_in: 2 mo
name: ${CI_BUILD_NAME}-${CI_COMMIT_REF_NAME}-container-uri
paths:
- container-release.uri
- custom-metrics-generator_files.tgz
release-image:
extends:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment