Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
trodix committed Dec 9, 2023
1 parent 80557ba commit cd1ca97
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,8 @@ jobs:
java-version: '17'
distribution: 'adopt'

- name: Build project
run: mvn -B clean package -DskipTests

- name: Build image
run: docker build . -t $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
run: mvn clean package -DskipTests && docker build . --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"

- name: Log in to registry
# This is where you will update the PAT to GITHUB_TOKEN
Expand Down

0 comments on commit cd1ca97

Please sign in to comment.