Skip to content

Commit

Permalink
build: goreleaser can now create multiple Docker tags
Browse files Browse the repository at this point in the history
  • Loading branch information
magiconair committed Oct 25, 2018
1 parent d1e47f6 commit 2014606
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Makefile
Expand Up @@ -70,7 +70,7 @@ pkg: build test
# later targets can pick up the new tag value.
release:
$(MAKE) tag
$(MAKE) preflight docker-test gorelease homebrew docker-aliases
$(MAKE) preflight docker-test gorelease homebrew

# preflight runs some checks before a release
preflight:
Expand All @@ -91,14 +91,6 @@ gorelease:
homebrew:
build/homebrew.sh $(LAST_TAG)

# docker-aliases creates aliases for the docker containers
# since goreleaser doesn't handle that properly yet
docker-aliases:
docker tag fabiolb/fabio:$(VERSION)-$(GOVERSION) magiconair/fabio:$(VERSION)-$(GOVERSION)
docker tag fabiolb/fabio:$(VERSION)-$(GOVERSION) magiconair/fabio:latest
docker push magiconair/fabio:$(VERSION)-$(GOVERSION)
docker push magiconair/fabio:latest

# docker-test runs make test in a Docker container with
# pinned versions of the external dependencies
#
Expand Down

0 comments on commit 2014606

Please sign in to comment.