From f4b77fe33b07e678a031d034fd9572cbd1adacc8 Mon Sep 17 00:00:00 2001 From: Anuraag Agrawal Date: Fri, 20 Jan 2023 07:45:37 +0900 Subject: [PATCH] Only push docker image on push or tag (#288) --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a1a62a1..718cb42 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -171,7 +171,7 @@ jobs: with: context: . file: docker/Dockerfile - push: ${{ github.event_name != 'pull_request' }} + push: ${{ github.event_name != 'pull_request' && github.event_name != 'workflow_dispatch' }} platforms: linux/amd64,linux/arm64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}