Update dependencies #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Publish | |
on: | |
push: | |
tags: | |
- "v*.*" | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
permissions: | |
packages: write | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: docker/setup-buildx-action@v3 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: "corretto" | |
java-version: "17" | |
cache: "gradle" | |
- name: Build project | |
run: ./gradlew clean build | |
- name: Login to Docker Hub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USERNAME }} | |
password: ${{ secrets.DOCKER_HUB_TOKEN }} | |
- name: Build images | |
timeout-minutes: 10 | |
run: docker compose build | |
- name: Push images | |
run: docker compose push | |
- name: Create release | |
uses: softprops/action-gh-release@v2 |