From f235ae4716eac40523e213ce9b72ef26e89983fd Mon Sep 17 00:00:00 2001 From: Viktor Liu Date: Sun, 25 Feb 2024 17:50:27 +0100 Subject: [PATCH] Add more tags --- .github/workflows/docker-image.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 2a80120..6d2c54f 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -30,6 +30,11 @@ jobs: uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 with: images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + tags: | + type=ref,event=branch + type=semver,pattern={{version}} + type=sha + latest - name: Build and push Container image uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56