Skip to content

Commit

Permalink
Update maven_release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-ennahdi authored Nov 25, 2024
1 parent 171434c commit fcb9fa1
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/maven_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,4 @@ jobs:
run: mvn -B release:clean release:prepare release:perform --file pom.xml
env:
GITHUB_TOKEN: ${{ secrets.ENNAHDI_TOKEN }}
- name: Create docker image and push to docker hub (latest version)
run: |
echo $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
docker tag ennahdi/objectmorph-app:env.RELEASE_VERSION ennahdi/objectmorph-app:env.RELEASE_VERSION
docker push ennahdi/objectmorph-app:env.RELEASE_VERSION

0 comments on commit fcb9fa1

Please sign in to comment.