From 2df2ffe5325cf03d24a89ff52b1da19209256eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20Ioni=C8=9B=C4=83?= Date: Tue, 18 Jun 2024 11:48:44 +0100 Subject: [PATCH] ci: update workflow --- .github/workflows/build-image.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index 6e3c2203..090bb9ef 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -15,6 +15,12 @@ jobs: with: images: code4romania/votong dockerfile: ./docker/web/Dockerfile + tags: | + type=edge + type=ref,event=branch + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} + type=semver,pattern={{major}} secrets: username: ${{ secrets.DOCKER_HUB_USERNAME }} token: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}