Multi image generation.

This commit is contained in:
Paulo Gustavo Veiga 2023-06-28 23:27:20 -07:00
parent 33f9eae3cb
commit 9871ad6843

View File

@ -23,8 +23,9 @@ pipelines:
- mvn -B verify --file pom.xml
# Publish to docker repo ...
- docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD
- docker build -t wisemapping/wisemapping:latest -f distribution/Dockerfile wise-webapp/target/
- docker push wisemapping/wisemapping:latest
- docker buildx create --use --platform=linux/arm64,linux/amd64 --name multi-platform-builder
- docker buildx inspect --bootstrap
- docker buildx build --platform=linux/amd64,linux/arm64 --push -t wisemapping/wisemapping:latest -f ./Dockerfile ../wise-webapp/target/
after-script:
# Collect checkstyle results, if any, and convert to Bitbucket Code Insights.
- pipe: atlassian/checkstyle-report:0.3.0