From 71e468fc563878e8d32a90b41eb447e959283527 Mon Sep 17 00:00:00 2001 From: Olivier Labayle <48188914+olivierlabayle@users.noreply.github.com> Date: Fri, 14 Apr 2023 11:24:38 +0100 Subject: [PATCH] Update Release.yml add semver to images --- .github/workflows/Release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 808df86..462dcda 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -30,6 +30,13 @@ jobs: uses: docker/metadata-action@v3 with: images: olivierlabayle/ukbmain + tags: | + type=schedule + type=ref,event=branch + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} + type=semver,pattern={{major}} + type=sha - name: Build and push uses: docker/build-push-action@v2 @@ -39,4 +46,4 @@ jobs: file: docker/Dockerfile push: true tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }}