Skip to content
Snippets Groups Projects
Commit f89d82e4 authored by Thomas Schneider's avatar Thomas Schneider
Browse files

ci: Build container image

parent 268ae527
No related branches found
No related tags found
No related merge requests found
Pipeline #6410 passed
......@@ -71,3 +71,25 @@ publish:
PDM_PUBLISH_PASSWORD: ${CI_JOB_TOKEN}
script:
- pdm publish --no-build
build-container:
stage: deploy
needs: []
cache: {}
image: quay.io/buildah/stable:v1
before_script:
- >-
buildah
login
-u "$CI_REGISTRY_USER"
-p "$CI_REGISTRY_PASSWORD"
$CI_REGISTRY
script:
- >-
buildah
build
-t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
- >-
buildah
push
$CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment