diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eed31042..77492b74 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,6 +43,9 @@ jobs: - name: Build dRAGon run: gradle bootJar -Pversion=$(gradle cV -q -Prelease.quiet) + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 - name: Log in to the Container registry uses: docker/login-action@v3 @@ -68,7 +71,9 @@ jobs: context: . platforms: linux/amd64,linux/arm64 push: true - tags: ${{ steps.meta.outputs.tags }} + #tags: ${{ steps.meta.outputs.tags }} + tags: | + ghcr.io/${{ github.repository }}:${{ github.ref == 'refs/heads/main' && 'latest' || github.ref }} labels: ${{ steps.meta.outputs.labels }} - name: Push Release