From 7446b79de8e5c87ecaf922d4eff7c631896d1b8b Mon Sep 17 00:00:00 2001 From: George Lesica Date: Tue, 1 Feb 2022 17:29:40 -0700 Subject: [PATCH] Update tags for images --- .github/workflows/container.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/container.yaml b/.github/workflows/container.yaml index de6c8a3..2dc73cf 100644 --- a/.github/workflows/container.yaml +++ b/.github/workflows/container.yaml @@ -6,7 +6,6 @@ name: Create and publish a Docker image on: - workflow_dispatch: release: types: ['published'] @@ -37,6 +36,8 @@ jobs: uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + tags: | + type=semver,pattern={{version}} - name: Build and push Docker image uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc