From e29d323b0041ad6e1a61fb43db47bccc48f7720b Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Fri, 29 Nov 2024 07:28:35 -0800 Subject: [PATCH] attempt to get the tag value correct --- .github/workflows/container-build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/container-build.yml b/.github/workflows/container-build.yml index 409857d..2149909 100644 --- a/.github/workflows/container-build.yml +++ b/.github/workflows/container-build.yml @@ -35,6 +35,10 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + tags: | + type=semver,pattern={{major}}.{{minor}}.{{patch}},value=${{ matrix.IMAGE_TAG }} + type=semver,pattern={{major}}.{{minor}},value=${{ matrix.IMAGE_TAG }} + type=semver,pattern={{major}},value=${{ matrix.IMAGE_TAG }} - name: Build and push id: push uses: docker/build-push-action@v6