mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-25 09:58:21 -04:00
gitlab-ci: add sanity check for docker images by running kbs --help
This commit is contained in:
parent
8aed3b15ed
commit
0969f342d0
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@ build_docker:
|
|||
DOCKER_TLS_CERTDIR: ""
|
||||
script:
|
||||
- 'docker build --pull -t "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}" -t "${CI_REGISTRY_IMAGE}:${CI_COMMIT_REF_SLUG}" .'
|
||||
- 'echo "running sanity check" && docker run -t --rm "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}" kupferbootstrap --help'
|
||||
only:
|
||||
- branches
|
||||
except:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue