From 43a144821414b62ef15d0c052f16a8c952002554 Mon Sep 17 00:00:00 2001 From: Gabriele Panico Date: Fri, 10 Nov 2023 17:51:48 +0100 Subject: [PATCH] no message --- .github/workflows/main.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 84bba4c7..9f1d7696 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Check out the repo - uses: actions/checkout@v4 + uses: actions/checkout@v4 - name: Login to Docker Hub uses: docker/login-action@v3 @@ -23,6 +23,13 @@ jobs: repository: tiledesk/design-studio tag_with_ref: true + - name: Generate Docker metadata + id: meta + uses: docker/metadata-action@v3 + tags: | + type=ref,event=branch + type=semver,pattern={{version}} + - name: Build and push uses: docker/build-push-action@v4 @@ -32,4 +39,4 @@ jobs: context: . file: ./Dockerfile push: true - tags: tiledesk/design-studio:latest \ No newline at end of file + tags: ${{ steps.meta.outputs.tags }} \ No newline at end of file