mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-22 21:25:43 -05:00
gitlab-ci: add sanity check for docker images by running kbs --help
This commit is contained in:
parent
49bae9d1f9
commit
5e10565c70
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,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 -it --rm "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}" kupferbootstrap --help'
|
||||
only:
|
||||
- branches
|
||||
except:
|
||||
|
|
Loading…
Add table
Reference in a new issue