diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index 2c5828d..1fcc7b8 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -35,14 +35,12 @@ jobs: with: images: ${{ env.REGISTRY_IMAGE }} flavor: | - latest=false + latest=auto suffix=-${{ matrix.info.suffix }} tags: | - type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - type=ref,event=branch - name: Set up QEMU uses: https://github.com/docker/setup-qemu-action@v3 @@ -110,13 +108,11 @@ jobs: with: images: ${{ env.REGISTRY_IMAGE }} flavor: | - latest=false + latest=auto tags: | - type=raw,value=latest,enable={{ is_default_branch }} type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - type=ref,event=branch - name: Create manifest list and push working-directory: /tmp/digests