-
Notifications
You must be signed in to change notification settings - Fork 47
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
multi platform automated docker builds #16
Conversation
iloveitaly
commented
Jul 22, 2024
- multi platform gh actions docker build
- docs: httpie example
@yegor256 this is looking good! Let me know what you think. |
.github/workflows/docker.yml
Outdated
type=ref,event=branch | ||
type=ref,event=pr | ||
type=semver,pattern={{version}} | ||
type=semver,pattern={{major}}.{{minor}} |
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.
@iloveitaly I'm curious, where will these version
, major
, and minor
come from?
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.
these are autogen'd from the PR. They aren't great, so we could remove if you want.
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.
@iloveitaly I don't know what would be a better solution... Maybe let's just increment the version and that's it? Every new push to master generates a new version in Docker Hub. Just a number, no major, no minor -- only an integer. Is it possible?
Swap the Ubuntu version out. Let me know if anything else is needed here. |
type=ref,event=pr | ||
type=semver,pattern={{version}} | ||
type=semver,pattern={{major}}.{{minor}} | ||
type=sha |
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.
Agh, I'm not really sure how to do that. Maybe we should just remove them for now since we have the latest
and sha tag to start with? And then one of us can figure out how to get proper semver in place?
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.
@iloveitaly sounds right, just latest
is enough
@iloveitaly thanks, let's see how it works |