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