-
Notifications
You must be signed in to change notification settings - Fork 5
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
AAE-10135: turn build-and-tag-maven GH reusable workflow into an acti… #105
AAE-10135: turn build-and-tag-maven GH reusable workflow into an acti… #105
Conversation
Will rework the PR as some of the changes were already handled with #114 |
1897fad
to
04b5d2c
Compare
c6fd37b
to
d5cae64
Compare
Will merge one PR using this action (to check push logic) before merging this PR. |
d5cae64
to
97c3aac
Compare
force pushed to handle conflict after merge of #126 |
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.
LGTM!
97c3aac
to
5a809d7
Compare
force pushed to handle conflict after latest release |
quay-username: | ||
description: Quay.io user name | ||
required: true | ||
quay-password: | ||
description: Quay.io password | ||
required: true | ||
docker-username: | ||
description: Docker.io user name | ||
required: true | ||
docker-password: | ||
description: Docker.io password | ||
required: true |
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.
maybe those could be optional since it depends on the packages you are building if they need to push to quay or docker or both
you could also skip docker-login steps depending on those inputs empty or not (otherwise they will fail)
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.
IIRC, we always need to login to Docker Hub, even when we are pushing images to quay.io, that's because some base images and images used by integration tests are hosted in Docker Hub and without login, we run out of quota to pull those images.
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.
yeah for your specific use case it's fine but I am always thinking if there is more room to make this action reusable in different contexts
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.
It makes sense to make it as reusable as possible, but I prefer to minimize the amount of work without anticipating too much. The risk is spending time adding logic that will never be used. We can always evolve the implementation to cover new scenarios when they are needed. Does it make sense?
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.
LGMT!
Keeping the work branch for now as there are currently running workflows that are still running on it |
…on