Skip to content

Commit

Permalink
Workflow: Remove duplicate step
Browse files Browse the repository at this point in the history
  • Loading branch information
Paletrox-Z committed Feb 27, 2024
1 parent c986cef commit a7ad290
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ jobs:

steps:
- uses: actions/checkout@v3

- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: maven

- name: Build with Maven
run: mvn -B package -DskipTests=true --file pom.xml

Expand All @@ -48,8 +50,4 @@ jobs:
with:
context: .
push: true
tags: v1v3k6/cp_user-service_reactive:latest

- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag be_user-service:$(date +%s)
tags: v1v3k6/cp_user-service_reactive:$(date +%s)

0 comments on commit a7ad290

Please sign in to comment.