Skip to content

Commit b56bb0b

Browse files
committed
use docker enabled
1 parent 1493453 commit b56bb0b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,11 @@ runs:
124124

125125
- name: Build
126126
id: docker_build
127+
if: ${{ inputs.dockerenabled }} == "true"
127128
uses: docker/build-push-action@v2
128129
with:
129130
context: .
130-
push: true
131+
push: ${{ steps.preparation.outputs.push }}
131132
file: ${{ inputs.dockerfile }}
132133
target: ${{ inputs.dockerbuildtarget }}
133134
build-args: ${{ inputs.dockerbuildargs }}

0 commit comments

Comments
 (0)