-
Notifications
You must be signed in to change notification settings - Fork 14
chore: adjust makefile to be able to use in GH action (#73 ) #123
Conversation
@rm3l do we need the pr.yaml to run on BOTH docker and podman? I would think we would be good enough with just podman, until such time as we want multi-arch builds upstream with Do you use docker locally? If so we could switch to using docker in the GH actions... |
Tested locally with:
Result is this diff:
|
Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com> also make sure podman is installed Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com> add linting to the PR check, so we can basically remove py.yaml Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com> update matrix PR check job so it'll work, if we still want it (but I'd argue we can delete it) Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com> rename actions since they don't necessarily need docker to build container Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com>
…and use that in pr and next tags, so we have separation between releases; this will require that we update the Makefile after every release (eg., 0.0.1, 0.0.2, 0.0.3) Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com> tweak comment: also pushing a :next tag Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com>
78f3c35
to
81de4ea
Compare
I have both |
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.
Also, in .github/workflows/pr-container-build.yaml
, can you rename the pr-docker-build
job (along with its name
field), since it is not using Docker?
Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com> BUILDPLATFORM is required by the dockerfile for cross-compilation with buildx; however the --platform flag should not be --platform= Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com>
e20da7e
to
c789dbb
Compare
Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com>
On my machine with podman and the docker-podman wrapper (Fedora 36):
I know there's a workaround for this, but I prefer to just use the tool we support inside RH. :D |
If you use docker you should start the docker daemon first. |
|
Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com>
As discussed, let's keep both of them for the time. |
…other pr check Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com>
Signed-off-by: RHDH Build (rhdh-bot) <rhdh-bot@redhat.com>
What does this PR do?
chore: adjust makefile to be able to use in GH action (#73 )
Signed-off-by: RHDH Build (rhdh-bot) rhdh-bot@redhat.com
Screenshot/screencast of this PR
N/A
What issues does this PR fix or reference?
N/A (or see commit message above for issue number)
How to test this PR?
N/A
PR Checklist
As the author of this Pull Request I made sure that:
Reviewers
Reviewers, please comment how you tested the PR when approving it.