Will push latest docker version as well as terraform version
This commit is contained in:
parent
aa45175a63
commit
473755b7e7
1 changed files with 1 additions and 1 deletions
|
|
@ -33,6 +33,6 @@ publish:
|
|||
- TERRAFORM_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/terraform | jq -r -M '.current_version')
|
||||
- docker build --pull -t "$CI_REGISTRY_IMAGE:$TERRAFORM_VERSION" .
|
||||
- docker push "$CI_REGISTRY_IMAGE:$TERRAFORM_VERSION"
|
||||
- docker push "$CI_REGISTRY_IMAGE:latest"
|
||||
- docker push "$CI_REGISTRY_IMAGE"
|
||||
only:
|
||||
- master
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue