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

ci: print warning when signing should happen in fork #96

Merged

Conversation

blocktrron
Copy link
Member

Currently the CI pipeline fails when the image is built in a fork with a tag that matches a release that should be signed.

This is due to the signing keys missing in the fork.

This might break cases where a sign in a fork is desired, however we do not support this and probably also don't want this.

If other people desire to use the script, they can exchange UPSTREAM_REPO_NAME with their own GitHub repo name.

Inform the user if this happens with a warning message.

Currently the CI pipeline fails when the image is built in a fork with a
tag that matches a release that should be signed.

This is due to the signing keys missing in the fork.

This might break cases where a sign in a fork is desired, however we do
not support this and probably also don't want this.

If other people desire to use the script, they can exchange
UPSTREAM_REPO_NAME with their own GitHub repo name.

Inform the user if this happens with a warning message.

Signed-off-by: David Bauer <[email protected]>
Even when the tag matches a release, we should never deploy in a fork.

Signed-off-by: David Bauer <[email protected]>
@blocktrron blocktrron merged commit 08b1aab into freifunk-darmstadt:master Aug 9, 2024
26 checks passed
@blocktrron blocktrron deleted the pr-detect-missing-keys branch August 9, 2024 13:54
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.

1 participant