Replace final CI_COMMITH_SHA to cat version
This commit is contained in:
parent
e5aacd71e4
commit
477f721990
@ -119,7 +119,7 @@ docker:
|
||||
# Build the image
|
||||
- 'docker -H unix:///var/run/docker.sock image build -t chaosbot:`cat version` ./'
|
||||
# Tag the image with a registry tag
|
||||
- 'docker -H unix:///var/run/docker.sock image tag chaosbot:`cat version` registry.chaoticlogic.us/chaosbot:$CI_COMMIT_SHA'
|
||||
- 'docker -H unix:///var/run/docker.sock image tag chaosbot:`cat version` registry.chaoticlogic.us/chaosbot`cat version`'
|
||||
- 'docker -H unix:///var/run/docker.sock image tag chaosbot:`cat version` registry.chaoticlogic.us/chaosbot:latest'
|
||||
# Push the registry images
|
||||
- 'docker -H unix:///var/run/docker.sock image push registry.chaoticlogic.us/chaosbot:`cat version`'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user