-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Fix hardcoded ghcr.io path, add missing docker archs #456
base: master
Are you sure you want to change the base?
Conversation
Feedback are welcome, if it's looks so good. |
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.
Thanks! Looks good. See comments in the review.
I didn't enable all the supported platforms because it takes additional time to build. I don't really mind, but did you need one of the arch I didn't put?
linux/arm64 | ||
linux/ppc64le | ||
linux/s390x | ||
push: ${{ github.event_name != '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.
There is a check above: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
, so it can't match on pull request I think. If you modify it, be sure to not allow Docker push on push event, as I usually create my own branches in the same repository.
- package-ecosystem: "github-actions" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "daily" |
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 it for the generated Docker images? Otherwise, the project itself has no version requirements for its dependencies, so they should always be up-to-date.
echo "Flags: ${{ steps.buildx.outputs.flags }}" | ||
echo "Platforms: ${{ steps.buildx.outputs.platforms }}" | ||
- name: Available platforms | ||
run: echo ${{ steps.buildx.outputs.platforms }} |
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.
This is a duplicate, the information is available in the previous step.
Fix hardcoded ghcr.io path
ghcr.io/${{ github.repository }}
add missing docker archs
linux/386
linux/amd64
linux/arm64
linux/arm/v6
linux/arm/v7
linux/arm64
linux/ppc64le
linux/s390x
And fix the push at a PR