Skip to content

Commit

Permalink
fix(ci): push latest tag
Browse files Browse the repository at this point in the history
fixes #80
  • Loading branch information
paullaffitte committed Feb 18, 2021
1 parent 3c5b697 commit 1d5523e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ build and push:
- docker login "$CI_REGISTRY" -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD"
script:
- VERSION="$CI_COMMIT_TAG" make push
- docker tag "enix/dothill-provisioner:$CI_COMMIT_TAG" enix/dothill-provisioner
- docker push enix/dothill-provisioner
only:
- tags

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ifeq ($(REGISTRY),)
REGISTRY = docker.io/enix
REGISTRY = enix
endif

ifeq ($(VERSION),)
Expand Down

0 comments on commit 1d5523e

Please sign in to comment.