diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f4f9c3a..f4b23407 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,4 +31,20 @@ jobs: - name: Publish to GitHub Packages run: mvn --batch-mode deploy env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_SECRET }} + - + name: Build and push + uses: docker/build-push-action@v4 + with: + context: . + push: true + tags: cookiecodedev/rika2mqtt:latest \ No newline at end of file