Skip to content

Commit 827ffb5

Browse files
build(Application): Skip tests when packaging. Update GitHub actions versions
1 parent 1d23787 commit 827ffb5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish-docker-image-prod.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check out the repo
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Log in to Docker Hub
17-
uses: docker/login-action@v2
17+
uses: docker/login-action@v3
1818
with:
1919
username: ${{ secrets.DOCKER_USERNAME }}
2020
password: ${{ secrets.DOCKER_PASSWORD }}
@@ -30,7 +30,7 @@ jobs:
3030
type=sha
3131
3232
- name: Build and push Docker image
33-
uses: docker/build-push-action@v4
33+
uses: docker/build-push-action@v6
3434
with:
3535
context: .
3636
push: true

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
FROM maven:3.9.6-eclipse-temurin-17 as build
55
WORKDIR /app
66
COPY . .
7-
RUN mvn package
7+
RUN mvn package -DskipTests
88

99
# Stage 2: Copy war
1010
FROM eclipse-temurin:17

0 commit comments

Comments
 (0)