Skip to content

Commit

Permalink
Merge pull request #141 from eliasnogueira/jib
Browse files Browse the repository at this point in the history
added jib and docker push when merge
  • Loading branch information
eliasnogueira authored Apr 1, 2024
2 parents e05261f + c980380 commit dd34144
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,8 @@ jobs:
run: mvn deploy -DskipTests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish Docker image
uses: MathieuSoysal/[email protected]
with:
PASSWORD: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@
<artifactId>jib-maven-plugin</artifactId>
<version>${jib-maven-plugin.version}</version>
<configuration>
<from>
<image>eclipse-temurin:22_36-jre-alpine</image>
</from>
<to>
<image>eliasnogueira/${project.name}:${project.version}</image>
<tags>
Expand Down

0 comments on commit dd34144

Please sign in to comment.