chore(deps): update dependency maven to v3.9.9 #349
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: spring-boot-in-docker | |
on: | |
push: | |
paths: | |
- 'spring-boot-in-docker/**' | |
- '.github/workflows/spring-boot-in-docker.yml' | |
pull_request: | |
paths: | |
- 'spring-boot-in-docker/**' | |
- '.github/workflows/spring-boot-in-docker.yml' | |
jobs: | |
docker-using-dockerfile-slim: | |
name: spring boot in docker using slim dockerfile | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Build docker image | |
run: | | |
cd spring-boot-in-docker | |
docker build -t larmic/spring-boot-in-docker-using-dockerfile-slim:latest -f src/main/docker/Dockerfile-slim . | |
docker-using-dockerfile-jvm: | |
name: spring boot in docker using jvm dockerfile | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Login to DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Build docker image | |
run: | | |
cd spring-boot-in-docker | |
docker build -t larmic/spring-boot-in-docker-using-dockerfile-jvm:latest -f src/main/docker/Dockerfile-jvm . | |
# TODO enable me: java.io.FileNotFoundException: /home/runner/.m2/settings-security.xml (No such file or directory) @ server: github | |
# docker-using-maven-jvm: | |
# runs-on: ubuntu-latest | |
# | |
# strategy: | |
# matrix: | |
# java: [ 17,18 ] | |
# | |
# name: Java ${{ matrix.java }} compile | |
# | |
# steps: | |
# - name: Check out code into the Go module directory | |
# uses: actions/checkout@v2 | |
# | |
# - name: Login to DockerHub | |
# uses: docker/login-action@v1 | |
# with: | |
# username: ${{ secrets.DOCKER_USERNAME }} | |
# password: ${{ secrets.DOCKER_PASSWORD }} | |
# | |
# - name: Setup java ${{ matrix.java }} | |
# uses: actions/setup-java@v1 | |
# with: | |
# java-version: ${{ matrix.java }} | |
# - run: | | |
# cd spring-boot-in-docker | |
# mvn clean package -Pdocker |