From 08d6f222bf3318d30dfdd74f1721f32629e2ea7a Mon Sep 17 00:00:00 2001 From: Conor McManus Date: Tue, 24 Jan 2023 15:06:49 +0100 Subject: [PATCH] Fix latest docker image not working --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 93f134c..75ec05f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,6 +32,7 @@ publish: script: - 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" . - docker push "$CI_REGISTRY_IMAGE:$TERRAFORM_VERSION" - docker push "$CI_REGISTRY_IMAGE" only: