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 }}