diff --git a/.github/workflows/docker_publish.yaml b/.github/workflows/docker_publish.yaml index ba0de6ea5b..d809951345 100644 --- a/.github/workflows/docker_publish.yaml +++ b/.github/workflows/docker_publish.yaml @@ -51,9 +51,7 @@ jobs: type=semver,pattern={{ major }}.{{ minor }},enable=${{ github.event_name == 'workflow_dispatch' && inputs.version != '' }},value=${{ inputs.version }} type=semver,pattern={{ major }},enable=${{ github.event_name == 'workflow_dispatch' && inputs.version != '' }},value=${{ inputs.version }} # only enabled in main: - type=edge,prefix=main-,suffix=-${{ matrix.version }},enable=${{ github.ref == 'refs/heads/main' }} - # only enabled on workflow_dispatch: - type=sha,suffix=-${{ matrix.version }},enable=${{ github.event_name == 'workflow_dispatch' }} + type=edge,prefix=main-,enable=${{ github.ref == 'refs/heads/main' }} - name: Login to docker hub uses: docker/login-action@v3 with: