From ab330e773ef4114c41649dd0a77abc111bca1b6e Mon Sep 17 00:00:00 2001
From: Romain de Laage <romain.delaage@rdelaage.ovh>
Date: Sat, 1 Oct 2022 07:10:37 +0000
Subject: [PATCH] build(docker): add generic beta tag for web-server image

---
 docker/production/.gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/production/.gitlab-ci.yml b/docker/production/.gitlab-ci.yml
index 0fb81be892..2a8c05e784 100644
--- a/docker/production/.gitlab-ci.yml
+++ b/docker/production/.gitlab-ci.yml
@@ -46,7 +46,7 @@ docker-build-alpha-beta-release:
   script:
     - cp ${DOCKER_HUB_CONFIG} /kaniko/.docker/config.json
     - export CP_VERSION=$(cat CP_VERSION.env)
-    - /kaniko/executor --context . --dockerfile docker/production/web-server/Dockerfile --destination ${DOCKER_IMAGE_WEB_SERVER}:${CP_VERSION}
+    - /kaniko/executor --context . --dockerfile docker/production/web-server/Dockerfile --destination ${DOCKER_IMAGE_WEB_SERVER}:${CP_VERSION} --destination ${DOCKER_IMAGE_WEB_SERVER}:${TAG}
     - /kaniko/executor --context . --dockerfile docker/production/app/Dockerfile --destination ${DOCKER_IMAGE_APP}:${CP_VERSION} --destination ${DOCKER_IMAGE_APP}:${TAG}
   needs:
     - pipeline: $PARENT_PIPELINE_ID
-- 
GitLab