-
Notifications
You must be signed in to change notification settings - Fork 59
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
Migrate builds to Github Actions #104
Conversation
c2f61d0
to
d50ee3d
Compare
Resolved the previous issues with the PR. |
.github/workflows/publish.yml
Outdated
name: Set Username/Repo and ImagePrefix as ENV vars | ||
run: | | ||
echo "USER_REPO"=$(echo "$GITHUB_REPOSITORY" | awk '{print tolower($1)}' | sed -e "s/:refs//") >> $GITHUB_ENV && \ | ||
echo "IMAGE_PREFIX"=$(echo "ghcr.io/${{ github.repository_owner }}/queue-worker" | awk '{print tolower($1)}' | sed -e "s/:refs//") >> $GITHUB_ENV |
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.
IMAGE_PREFIX
looks different to how we did this elsewhere? Can you make the example more consistent with faas-netes or faas?
@utsavanand2 I still need your help with this PR you created. It isn’t consistent with the other builds we have merged, can you go ahead and remove the IMAGE_PREFIX etc and make it work like the other builds we have merged? Thank you 🙏 |
Sure @alexellis will do this at the earliest |
How about this project as a template? |
Signed-off-by: Utsav Anand <[email protected]>
d50ee3d
to
ffe78ae
Compare
We can't wait any longer for this, I'm closing it and taking it on myself. |
Signed-off-by: Utsav Anand [email protected]
Description
Moves builds from Travis to Github Actions
Motivation and Context
- [ ] I have raised an issue to propose this change ([required]Issue 1585 for reference
(https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md))
Move builds to Github Actions
How Has This Been Tested?
Check the build statuses:
build: https://github.com/utsavanand2/nats-queue-worker/runs/1536136986?check_suite_focus=true
publish: https://github.com/utsavanand2/nats-queue-worker/runs/1536224826?check_suite_focus=true
Types of changes
Checklist:
git commit -s