diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77492b74..650e8ec0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -71,9 +71,8 @@ jobs: context: . platforms: linux/amd64,linux/arm64 push: true - #tags: ${{ steps.meta.outputs.tags }} tags: | - ghcr.io/${{ github.repository }}:${{ github.ref == 'refs/heads/main' && 'latest' || github.ref }} + ghcr.io/${{ github.repository }}:${{ github.ref_name == 'main' && 'latest' || github.ref_name }} labels: ${{ steps.meta.outputs.labels }} - name: Push Release