mirror of
https://github.com/lukaszraczylo/jobs-manager-operator.git
synced 2026-07-10 06:43:01 +00:00
Build docker image only on the master branch.
This commit is contained in:
@@ -100,6 +100,7 @@ jobs:
|
|||||||
name: "Building docker image"
|
name: "Building docker image"
|
||||||
needs: [ prepare, test ]
|
needs: [ prepare, test ]
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
if: needs.prepare.outputs.CHECK_IF_MASTER_BRANCH == 'true'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user