Skip to content

Commit

Permalink
add: Also tag the latest build for alpine
Browse files Browse the repository at this point in the history
It is quite common, and upstream postgres does so as well, to also tag a 'latest' for alpine. In this case, this would result in `postgis:alpine` being the latest stable alpine release. This makes it easier (albeit riskier) to track the latest stable postgis release. The risk should be acceptable however, as the same risk would be taken when tracking `postgis:latest` so it really is up to the user.
  • Loading branch information
oliv3r authored Mar 21, 2021
1 parent 27f716f commit f7789eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ $(foreach version,$(VERSIONS),$(eval $(call test-version,$(version))))

tag-latest: $(BUILD_LATEST_DEP)
$(DOCKER) image tag $(REPO_NAME)/$(IMAGE_NAME):$(LATEST_VERSION) $(REPO_NAME)/$(IMAGE_NAME):latest
$(DOCKER) image tag $(REPO_NAME)/$(IMAGE_NAME):$(LATEST_VERSION)-alpine $(REPO_NAME)/$(IMAGE_NAME):alpine


### RULES FOR PUSHING ###
Expand Down

0 comments on commit f7789eb

Please sign in to comment.