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

Fix hardcoded ghcr.io path, add missing docker archs #456

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

berlin4apk
Copy link

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

@berlin4apk
Copy link
Author

Feedback are welcome, if it's looks so good.

Copy link
Member

@vincentbernat vincentbernat left a 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' }}
Copy link
Member

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"
Copy link
Member

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 }}
Copy link
Member

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.

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.

None yet

2 participants