From 893b93899f189baa93aa5cf4ccc988b414b348f6 Mon Sep 17 00:00:00 2001 From: Shizun Ge Date: Tue, 26 Oct 2021 21:29:03 -0700 Subject: [PATCH] run workflow on release is created --- .github/workflows/docker-hub-build-push.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-hub-build-push.yml b/.github/workflows/docker-hub-build-push.yml index 2a7f0d2..8dd1e1c 100644 --- a/.github/workflows/docker-hub-build-push.yml +++ b/.github/workflows/docker-hub-build-push.yml @@ -1,9 +1,9 @@ name: build docker image and push to docker hub on: - push: - tags: - - '*' + release: + types: # This configuration does not affect the page_build event above + - created jobs: build: