-
Notifications
You must be signed in to change notification settings - Fork 8
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
OZ-502: GA workflows to use shared workflow to allow image releases. #13
Conversation
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.
Generally LGTM except the build failure. Are any dockerhub org secrets for mekomsolutions.
.github/workflows/build.yml
Outdated
download-artifacts: false | ||
image-name: "senaite" | ||
secrets: | ||
DOCKER_HUB_USERNAME: mekomsolutions |
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.
Let's use username from secrets here.
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.
I am not sure we have one. We will need @rbuisson to confirm
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.
.github/workflows/build.yml
Outdated
pull_request: | ||
branches: [main] |
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.
Remove on pull_request
. We don't want to build and publish docker images on PR
This looks ok, however we need to modify here to not fail when it is not a maven project and also accepts "tags" as input variable which should defaults to empty. This means in additional to |
This PR updates the GA workflow to use the shared workflow to allow us to release the image. See https://mekomsolutions.atlassian.net/browse/OZ-502