Merge branch '3-add-container-version-to-ci-cd-artifact' into 'master'
Resolve "Add container version to CI/CD artifact" Closes #3 See merge request athens-school/gitlab!3
This commit is contained in:
commit
a8561b6a1d
@ -43,3 +43,8 @@ build-image:
|
||||
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||
- docker build -t $CI_REGISTRY/athens-school/gitlab:$GITLAB_SHORT_VER .
|
||||
- docker push $CI_REGISTRY/athens-school/gitlab:$GITLAB_SHORT_VER
|
||||
- wget "https://img.shields.io/badge/image version-$GITLAB_SHORT_VER-informational" -O ../../image_version.svg
|
||||
artifacts:
|
||||
paths:
|
||||
- image_version.svg
|
||||
expire_in: 1 month
|
||||
|
Reference in New Issue
Block a user