From 440b05b4d637b2422c9646da4b05ec3ae3d3e6b0 Mon Sep 17 00:00:00 2001 From: Johannes Sasongko Date: Mon, 31 Jul 2023 00:30:31 +1000 Subject: [PATCH] CI: Also push image on workflow_dispatch event --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e21b82..8cddd27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,5 +50,5 @@ jobs: - name: History run: docker history "$IMAGE" - name: Push - if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref == 'refs/heads/master' + if: (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/master' run: docker push "$IMAGE"