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

Publish container image of the server during ci #124

Merged

Conversation

duhizjame
Copy link
Collaborator

@duhizjame duhizjame commented Oct 27, 2023

Images of server getting pushed as: ghcr.io/agile-lab-dev/io.whitefox.server to ghcr

on any PR the related image is pushed, on main branch we also publish "latest" tag

@duhizjame duhizjame linked an issue Oct 27, 2023 that may be closed by this pull request
@tmnd1991
Copy link

before this PR I do not need to add any change but simply run:

./gradlew build -Dquarkus.container-image.build=true

and I get a locally tagged image as both:

io.whitefox/server                                  3bd642c
io.whitefox/server                                  latest

that works just fine.
Should we then not simply do something like docker push on the ci?

Also I would do this only on main branch for now

server/build.gradle.kts Outdated Show resolved Hide resolved
@tmnd1991 tmnd1991 force-pushed the feature/84-publish-container-image-of-the-server-during-ci branch from 68da885 to 9ef39fa Compare October 30, 2023 09:24
@tmnd1991 tmnd1991 merged commit e5e06df into main Oct 30, 2023
4 checks passed
@tmnd1991 tmnd1991 deleted the feature/84-publish-container-image-of-the-server-during-ci branch October 30, 2023 13:19
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.

Publish container image of the server during CI
3 participants