Skip to content

Commit

Permalink
Update maven_docker_image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-ennahdi authored Nov 25, 2024
1 parent 3171a5e commit 52b91a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/maven_docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# separate terms of service, privacy policy, and support
# documentation.

name: Java CI with Maven
name: Java CI with Maven to create and publish Docker image

on:
workflow_run:
Expand All @@ -30,7 +30,8 @@ jobs:
- name: Create docker image and push to docker hub (latest version)
run: |
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}
echo ${{ env.RELEASE_VERSION }}
cd objectmorph-app
mvn -B spring-boot:build-image --file pom.xml
docker tag ennahdi/objectmorph-app:env.RELEASE_VERSION ennahdi/objectmorph-app
docker push ennahdi/objectmorph-app
Expand Down

0 comments on commit 52b91a2

Please sign in to comment.