Skip to content

Commit

Permalink
Merge pull request #247 from entur/github-action
Browse files Browse the repository at this point in the history
Add jib plugin configuration
  • Loading branch information
testower authored Sep 11, 2023
2 parents 7b526c1 + 5abe532 commit 21007f4
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,26 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<to>
<image>${env.CONTAINER_REPO}</image>
<auth>
<username>${env.CONTAINER_REGISTRY_USER}</username>
<password>${env.CONTAINER_REGISTRY_PASSWORD}</password>
</auth>
</to>
<container>
<!-- Same as EXPOSE, doesn't actually publish the ports but acts as documentation -->
<ports>
<port>8080</port>
</ports>
</container>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
Expand Down

0 comments on commit 21007f4

Please sign in to comment.