From 1ccd70a0e71285f5158e92142ef35357ebfe447f Mon Sep 17 00:00:00 2001 From: Michael Hobbs Date: Sun, 18 Oct 2020 12:25:38 -0400 Subject: [PATCH] updated docker publish pipeline - should trigger on release now --- .github/workflows/docker-publish.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index cfc4059..cd71106 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -1,10 +1,8 @@ name: Docker on: - push: - # Publish `main` as Docker `latest` image. - branches: - - 'releases/**' + release: + types: [released] # Publish `v1.2.3` tags as releases. tags: @@ -45,7 +43,7 @@ jobs: needs: test runs-on: ubuntu-latest - if: github.event_name == 'push' + if: github.event_name == 'release' steps: - name: Checkout