Multi-arch images with Github Actions #95
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @lwolf,
I've created two Github actions that should do the job of replacing Travis:
test.yml
: runs on pull request creation and simply runsmake test
at this stagerelease.yml
: runs on tag creation, and uses GoReleaser to build and push multi-arch images and manifestsCaveat - this is my first time using GoReleaser. I tested this using my dockerhub login and it seems to work okay: https://hub.docker.com/r/awilmore/kube-cleanup-operator/tags
The github action requires that you set the values for
QUAY_USERNAME
andQUAY_PASSWORD
as action secrets here: https://github.com/lwolf/kube-cleanup-operator/settings/secrets/actionsThat's about it. I hope this is enough info to get this set up as your Travis replacement.
UPDATE
This PR addresses: