From 217171de043ea15110193b82707785259691d0af Mon Sep 17 00:00:00 2001 From: Alexander Dolich Date: Wed, 3 May 2023 17:17:08 +0200 Subject: [PATCH] Update docker-image.yml --- .github/workflows/docker-image.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index b8f3c74..dc5f855 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -1,12 +1,26 @@ name: Docker Image CI -on: - release: - types: [published] +on: push jobs: + release: + name: Create Github release + runs-on: ubuntu-20.04 + if: startsWith(github.event.ref, 'refs/tags/v') + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Release + uses: softprops/action-gh-release@v1 + with: + body_path: RELEASE.md + generate_release_notes: true build: + name: Build docker images + if: startsWith(github.event.ref, 'refs/tags/v') runs-on: ubuntu-latest permissions: