Fix latest docker image not working
This commit is contained in:
parent
473755b7e7
commit
08d6f222bf
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ publish:
|
||||||
script:
|
script:
|
||||||
- TERRAFORM_VERSION=$(curl -s https://checkpoint-api.hashicorp.com/v1/check/terraform | jq -r -M '.current_version')
|
- 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 build --pull -t "$CI_REGISTRY_IMAGE:$TERRAFORM_VERSION" .
|
||||||
|
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
|
||||||
- docker push "$CI_REGISTRY_IMAGE:$TERRAFORM_VERSION"
|
- docker push "$CI_REGISTRY_IMAGE:$TERRAFORM_VERSION"
|
||||||
- docker push "$CI_REGISTRY_IMAGE"
|
- docker push "$CI_REGISTRY_IMAGE"
|
||||||
only:
|
only:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue