-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker Build Pipeline with Tags #103
Conversation
- 'main' | ||
tags: | ||
- 'v*' | ||
pull_request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this pull_request
key necessary - shouldn't it be canceled out by push: ${{ github.event_name != 'pull_request' }}
on line 32?
Tagging @fraank original author of the GitHub action - does this PR work for Docker container usage? |
Merging this for now, will test out the tagged versions on GHCR, thanks! |
Thanks :) |
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.