From ad0f331dd40f2903e79bbaa9329d423f114f52f8 Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 6 Apr 2022 18:35:48 +0200 Subject: [PATCH] Update docker-build.yml --- .github/workflows/docker-build.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 5c1c263..2ed8ace 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -1,10 +1,8 @@ name: Docker Image CI on: - push: - branches: - - release/* - - main + release: + types: [published] jobs: docker: @@ -24,5 +22,4 @@ jobs: uses: docker/build-push-action@v1 with: push: true - tags: user/app:latest - # tags: user/app:${{ github.event.release.tag_name }} + tags: ${{ github.event.release.tag_name }}