From 3412e25af8641dcb7727ffccdbe8ab30f584510b Mon Sep 17 00:00:00 2001 From: Pablo Silva Date: Wed, 5 Jun 2024 14:08:28 +0100 Subject: [PATCH] Update gitlab ci job tag --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a51586c9..200c388e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,10 +8,10 @@ stages: - docker:dind script: - docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PASS - - docker build . -f docker/Dockerfile -t jandigarte/django:$DOCKER_TAG --cache-from jandigarte/django:$DOCKER_TAG + - docker build . -t jandigarte/django:$DOCKER_TAG --cache-from jandigarte/django:$DOCKER_TAG - docker push jandigarte/django:$DOCKER_TAG tags: - - docker + - gitlab-org-docker build develop: extends: .build @@ -32,7 +32,7 @@ build tag: environment: production script: - docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PASS - - "docker build . -f docker/Dockerfile + - "docker build . -t jandigarte/django:$CI_COMMIT_TAG -t jandigarte/django:$DOCKER_TAG -t jandigarte/django:latest"