Skip to content

Commit

Permalink
Fix Unrecognized
Browse files Browse the repository at this point in the history
  • Loading branch information
bifrurcated committed Jan 14, 2024
1 parent 47faaec commit 8fd08c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ jobs:
run: mvn spring-boot:build-image -Ddockerfile=Dockerfile.layers -DskipTests

- name: print JAR_FILE
run: echo $project.Version
run: echo $projectVersion

- name: print JAR_FILE
run: echo $project.ArtefactId
run: echo $projectArtefactId

- name: Push image
run: docker push ${{ secrets.DOCKER_USERNAME }}/${{ project.ArtefactId }}:${{ project.Version }}
run: docker push ${{ secrets.DOCKER_USERNAME }}/${{ env.projectArtefactId }}:${{ env.projectVersion }}
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<project.ArtefactId>${project.artifactId}</project.ArtefactId>
<project.Version>${project.version}</project.Version>
<projectArtefactId>${project.artifactId}</projectArtefactId>
<projectVersion>${project.version}</projectVersion>
</systemPropertyVariables>
<image>
<name>${docker.image.prefix}/${project.artifactId}:${project.version}</name>
Expand Down

0 comments on commit 8fd08c1

Please sign in to comment.