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

Only push docker image on push or tag #288

Merged
merged 1 commit into from
Jan 19, 2023

Conversation

anuraaga
Copy link
Contributor

I noticed workflows are manually run pretty often on non-main branch like this one, which is populating github packages with the WIP code.

https://github.com/WebAssembly/wasi-sdk/actions/runs/3895139484

Presumably it's fine to not push the docker image on a manual run anyways, alternatively I could filter on ref_type != tag && ref_name == main if that seems better.

@anuraaga anuraaga force-pushed the dockerpush-onlymain branch from 491171a to f5045f8 Compare January 13, 2023 02:07
Copy link
Member

@sbc100 sbc100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems reasonable. Only pushing on changes to main also seems reasonable. lgtm either way.

@anuraaga anuraaga force-pushed the dockerpush-onlymain branch from f5045f8 to 801f019 Compare January 16, 2023 01:16
@sunfishcode sunfishcode merged commit f4b77fe into WebAssembly:main Jan 19, 2023
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.

3 participants