Skip to content

Commit

Permalink
Publish image
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguililla committed Jun 28, 2024
1 parent 580ba8c commit bbc302e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ jobs:
key: "${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/*.properties') }}"
restore-keys: "${{ runner.os }}-gradle-"
- run: curl -s "https://get.sdkman.io?rcupdate=false" | bash
- run: |
- env:
DOCKER_IO_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_IO_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
REGISTRY: ${{ secrets.DOCKER_HUB_USERNAME }}
run: |
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk env install
./gradlew jpackage
docker login --username "$DOCKER_HUB_USERNAME" --password "$DOCKER_HUB_PASSWORD"
./gradlew push

0 comments on commit bbc302e

Please sign in to comment.