Skip to content
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

Merged
merged 10 commits into from
Jul 24, 2024

Conversation

iloveitaly
Copy link
Contributor

  • multi platform gh actions docker build
  • docs: httpie example

@iloveitaly
Copy link
Contributor Author

@yegor256 this is looking good! Let me know what you think.

type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
Copy link
Owner

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?

Copy link
Contributor Author

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.

Copy link
Owner

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?

@iloveitaly
Copy link
Contributor Author

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
Copy link
Contributor Author

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?

Copy link
Owner

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

@yegor256 yegor256 merged commit d479160 into yegor256:master Jul 24, 2024
7 checks passed
@yegor256
Copy link
Owner

@iloveitaly thanks, let's see how it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants