Update pipeline docker image.

This commit is contained in:
Paulo Gustavo Veiga 2023-08-10 21:57:27 -07:00
parent abcd0d8515
commit 4f94d7117a

View File

@ -5,7 +5,7 @@
# Prerequisites: pom.xml and appropriate project structure should exist in the repository. # Prerequisites: pom.xml and appropriate project structure should exist in the repository.
image: maven:3.8.7 image: maven:3.9.4
pipelines: pipelines:
branches: branches:
@ -20,7 +20,7 @@ pipelines:
# Compile sources ... # Compile sources ...
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash - curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash
- . $HOME/.nvm/nvm.sh && nvm install node - . $HOME/.nvm/nvm.sh && nvm install node
- mvn -B verify --file pom.xml - mvn clean install --file pom.xml -DskipTests
# Publish to docker repo ... # Publish to docker repo ...
- docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD - docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD
- docker build -t wisemapping/wisemapping:latest -f distribution/Dockerfile wise-webapp/target/ - docker build -t wisemapping/wisemapping:latest -f distribution/Dockerfile wise-webapp/target/