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

Automatically push to ghcr and build for ARM #327

Merged
merged 2 commits into from
Oct 16, 2024

Conversation

kwongtn
Copy link
Contributor

@kwongtn kwongtn commented Oct 15, 2024

If there is a new tag created, github actions builds for multiarch (including ARM) and pushes to GHCR.

Closes:

Probably closes:

Signed-off-by: Kwong Tung Nan <[email protected]>
Signed-off-by: Kwong Tung Nan <[email protected]>
@danihodovic
Copy link
Owner

danihodovic commented Oct 15, 2024

Selamat Pagi kwongtn,

Does this mean I have to add GITHUB_TOKEN to the repo secrets? What permissions should said token have?

@kwongtn
Copy link
Contributor Author

kwongtn commented Oct 16, 2024

Hi,
You don't need to add anything actually. It is a built-in variable for github actions, ref: https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication

As for permissions, it has been granted by .github/workflows/push-image-ghcr.yml::L15-17

@danihodovic danihodovic merged commit ec67574 into danihodovic:master Oct 16, 2024
6 checks passed
@itskingori itskingori mentioned this pull request Oct 16, 2024
3 tasks
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