diff --git a/.github/workflows/release-docker.yaml b/.github/workflows/release-docker.yaml index 286a0cc34..7e1ec6b7a 100644 --- a/.github/workflows/release-docker.yaml +++ b/.github/workflows/release-docker.yaml @@ -39,6 +39,10 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPOSITORY }} + tags: | + type=ref,event=branch + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -95,6 +99,10 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_REPOSITORY }} + tags: | + type=ref,event=branch + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} - name: Login to container registry uses: docker/login-action@v3