From 7075fc95e377096a2a8ac99599788ceec13b237e Mon Sep 17 00:00:00 2001 From: Yurii Puchkov Date: Sat, 23 Dec 2023 21:02:11 -0700 Subject: [PATCH] feat(cicd): allow to trigger job manually --- .github/workflows/build.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6d10888..0a0108a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,6 +1,7 @@ name: Docker Build & Push permissions: write-all -'on': + +on: push: branches: - main @@ -11,6 +12,8 @@ permissions: write-all pull_request: branches: - main + workflow_dispatch: + env: IMAGE_NAME: 'pygitver' DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}