protomaps / go-pmtiles

Single-file executable tool for working with PMTiles archives
BSD 3-Clause "New" or "Revised" License
356 stars 49 forks source link

Docker Build Pipeline with Tags #103

Closed gimse closed 7 months ago

gimse commented 9 months ago

Making Github Action that builds docker image with "version number" and "latest". For example ghcr.io/protomaps/go-pmtiles:v0.0.7 & ghcr.io/gimse/go-pmtiles:latest

It still builds ghcr.io/protomaps/go-pmtiles:main on push to main.

It also run the pipeline on pull requests, but do not push to the registry.

gimse commented 9 months ago

Example on how it looks in to container registry :

image

bdon commented 9 months ago

Tagging @fraank original author of the GitHub action - does this PR work for Docker container usage?

bdon commented 7 months ago

Merging this for now, will test out the tagged versions on GHCR, thanks!

gimse commented 2 months ago

Thanks :)