Skip to content

Commit

Permalink
build: 💚 add CI_COMMIT_TAG to docker image names in gitlab-dso
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashbrnrd committed Jul 17, 2024
1 parent 358d60d commit c2b6db4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci-dso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ read_secret:
docker-build-frontend:
variables:
WORKING_DIR: "frontend"
IMAGE_NAMES: basegun-frontend:${CI_COMMIT_REF_SLUG} basegun-frontend:${CI_COMMIT_SHORT_SHA}
IMAGE_NAMES: basegun-frontend:${CI_COMMIT_REF_SLUG} basegun-frontend:${CI_COMMIT_SHORT_SHA} basegun-frontend:${CI_COMMIT_TAG}
DOCKERFILE: "frontend/Dockerfile"
BUILD_ARGS: --build-arg=VERSION=1.1.1
stage: docker-build
Expand All @@ -35,7 +35,7 @@ docker-build-frontend:
docker-build-backend:
variables:
WORKING_DIR: "backend"
IMAGE_NAMES: basegun-backend:${CI_COMMIT_REF_SLUG} basegun-backend:${CI_COMMIT_SHORT_SHA}
IMAGE_NAMES: basegun-backend:${CI_COMMIT_REF_SLUG} basegun-backend:${CI_COMMIT_SHORT_SHA} basegun-backend:${CI_COMMIT_TAG}
DOCKERFILE: "backend/Dockerfile"
BUILD_ARGS: --build-arg=VERSION=1.1.1
stage: docker-build
Expand Down

0 comments on commit c2b6db4

Please sign in to comment.