diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 14322be..c4634b1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,7 +59,18 @@ jobs: if: github.event_name == 'push' steps: - uses: actions/checkout@v4 - + with: + fetch-depth: '0' + + - name: Bump version and push tag + if: ${{ github.ref_name == 'stable' }} + id: setversion + uses: anothrNick/github-tag-action@1.36.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + WITH_V: true + RELEASE_BRANCHES: stable + - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -73,6 +84,13 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WITH_V: true + - name: Bump version and push tag + id: setversion + uses: anothrNick/github-tag-action@1.36.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + WITH_V: true + - name: Log in to GitHub Container Registry uses: docker/login-action@v1 with: