jabrena / spring-boot-relational-database-poc

A POC to review different ways to implement the data access layer for a relational database.
https://jabrena.github.io/spring-boot-relational-database-poc/spy_data/index.html
Apache License 2.0
3 stars 3 forks source link

Try jib-maven-plugin #83

Open jabrena opened 1 year ago

jabrena commented 1 year ago
            <!-- Jib -->
            <plugin>
                <groupId>com.google.cloud.tools</groupId>
                <artifactId>jib-maven-plugin</artifactId>
                <version>${jib-maven-plugin.version}</version>
                <configuration>
                    <container>
                        <ports>
                            <port>8080</port>
                        </ports>
                    </container>
                    <from>
                        <image>LATEST-IMAGE</image>
                    </from>
                    <to>
                        <image>jabrena/bla-bla-bla:${project.version}</image>
                    </to>
                </configuration>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>build</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>