From c3c26da5940f1c4fab700d21c28027f392d48d74 Mon Sep 17 00:00:00 2001 From: Ambika Sukla Date: Tue, 23 Jan 2024 09:50:43 -0500 Subject: [PATCH] create docker images on releases only --- .github/workflows/docker-publish.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 40f9910..14a8935 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -6,14 +6,8 @@ name: Docker # documentation. on: - schedule: - - cron: '41 16 * * *' - push: - branches: [ "main" ] - # Publish semver tags as releases. - tags: [ 'v*.*.*' ] - pull_request: - branches: [ "main" ] + release: + types: [published] env: # Use docker.io for Docker Hub if empty