Skip to content

Commit

Permalink
Update gitlab ci job tag
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodiegoss committed Jun 5, 2024
1 parent f16b8e8 commit 3412e25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 3412e25

Please sign in to comment.