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

OZ-502: GA workflows to use shared workflow to allow image releases. #13

Merged
merged 4 commits into from
May 22, 2024

Conversation

enyachoke
Copy link
Contributor

@enyachoke enyachoke commented May 20, 2024

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

Copy link

@corneliouzbett corneliouzbett left a 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.

download-artifacts: false
image-name: "senaite"
secrets:
DOCKER_HUB_USERNAME: mekomsolutions

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.

Copy link
Contributor Author

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

Copy link
Member

Choose a reason for hiding this comment

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

Those are the secrets vars available at the org level

Screenshot 2024-05-21 at 14 13 35

Comment on lines 6 to 7
pull_request:
branches: [main]

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

@mks-d mks-d changed the title OZ-502: Update GH workflows to allow us to release OZ-502: GA workflows to use shared workflow to allow image releases. May 20, 2024
@corneliouzbett
Copy link

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 latest and version from pom file(If the project is maven), we can add out own tags thru the inputs.

@enyachoke enyachoke merged commit 175a58c into mekomsolutions:main May 22, 2024
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