From de3d5e01f29e6e799357555540b6b7ee44f8c7a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lombardo?= Date: Thu, 14 Dec 2023 02:15:47 -0300 Subject: [PATCH] change Docker CI tags --- .github/workflows/docker.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 30711f0..9c80036 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -4,7 +4,8 @@ on: push: branches: - main - - docker + tags: + - 'v*' jobs: publish: @@ -19,6 +20,11 @@ jobs: id: meta with: images: mlomb/chat-analytics + tags: | + # set latest tag for default branch + type=raw,value=latest,enable={{is_default_branch}} + # release tag + type=semver,pattern={{version}},prefix=v - uses: docker/build-push-action@v5 with: context: .