Skip to content

Commit

Permalink
Activate push to latest when tag (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
clamoriniere committed Aug 26, 2020
1 parent e4534ea commit cf31195
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ push_tag_to_docker_hub:
- docker build --build-arg TAG=${CI_COMMIT_TAG:1} -t $IMAGE_NAME -f Dockerfile .
- docker push $IMAGE_NAME

# remove the leading dot from the name to let the job appear in gitlab
.push_latest_to_docker_hub:
push_latest_to_docker_hub:
only:
- tags
stage: release
Expand Down

0 comments on commit cf31195

Please sign in to comment.