diff --git a/.github/workflows/build_container.yml b/.github/workflows/build_container.yml index 6bcd64d7..bb68dc4e 100644 --- a/.github/workflows/build_container.yml +++ b/.github/workflows/build_container.yml @@ -32,9 +32,9 @@ jobs: with: images: ghcr.io/${{ github.repository_owner }}/${{ github.event.repository.name }} tags: | - type=ref,event=branch - type=ref,event=pr - type=sha + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} + type=semver,pattern={{major}} - name: Build and push Docker image uses: docker/build-push-action@v5