Skip to content

Bump org.webjars:bootstrap from 3.3.6 to 3.4.0 in /microservice-istio-demo #36

Bump org.webjars:bootstrap from 3.3.6 to 3.4.0 in /microservice-istio-demo

Bump org.webjars:bootstrap from 3.3.6 to 3.4.0 in /microservice-istio-demo #36

name: Build and Publish Native Docker Images for Bonus Microservice
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-bonus-native:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Build native bonus microservices with Maven
run: cd microservice-istio-bonus && mvn -B spring-boot:build-image -Pnative
- name: Log into registry
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
- name: Push image for native microservice bonus
run: |
IMAGE_PREFIX=${{ secrets.DOCKER_USERNAME }}
docker tag microservice-istio-bonus:0.0.1-SNAPSHOT $IMAGE_PREFIX/microservice-istio-bonus-native:1
docker push $IMAGE_PREFIX/microservice-istio-bonus-native:1