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

Use GHA workflow to publish pre-built images to ghcr.io #59

Merged
merged 1 commit into from
Oct 17, 2021
Merged

Use GHA workflow to publish pre-built images to ghcr.io #59

merged 1 commit into from
Oct 17, 2021

Conversation

PromoFaux
Copy link
Contributor

Some changes as discussed in #57

I've kept this separate from the changes proposed in #58 - but they should merge in together without conflicts as neither touch the same lines (have merging both branches into master locally)

  • Replace multiple actions with a single action to reduce duplication utilise a matrix. If action is triggered by a pull request - it will just build the images and do nothing with them. If it is triggered by a tag, then it will publish the image to the repository owner's container registry
  • Some tweaks to the dockerfiles for slight reduction in overall image size by clearing apt cache and adding --no-install-recommends
  • Additons to catalina-wrapper.sh to check that the TOMCAT_ADMIN_PASSWORD is not blank (in which case it must be passed in on container start), and an additional variable to allow skipping of the 60 second sleep (useful if database is external and already running)

… - utilise a matrix. If action is triggered by a pull request - it will just build the images and do nothing with them. If it is triggered by a tag, then it will publish the image to the repository owner's container registry

- Some tweaks to the dockerfiles for slight reduction in overall image size by clearing apt cache and adding --no-install-recommends
- Additons to `catalina-wrapper.sh` to check that the TOMCAT_ADMIN_PASSWORD is not blank (in which case it must be passed in on container start), and an additional variable to allow skipping of the 60 second sleep (useful if database is external and already running)

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
@klaros-testmanagement klaros-testmanagement merged commit d7e74d9 into klaros-testmanagement:master Oct 17, 2021
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.

2 participants