From 6034df88390c37bdf86c190ad0303dd67d9c3848 Mon Sep 17 00:00:00 2001 From: Yi Chen Date: Fri, 26 Jul 2024 15:13:43 +0800 Subject: [PATCH] Update docker image tags Signed-off-by: Yi Chen --- .github/workflows/release-docker.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) 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