Skip to content

Commit 47220cb

Browse files
committed
Pull Base
1 parent 9fee78e commit 47220cb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/docker-multistage-build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ on:
3535
description: 'Dertermines whether we upload the artifact not.'
3636
required: true
3737
type: boolean
38+
pull_base_image:
39+
description: 'Pull Docker base image before building?.'
40+
required: false
41+
default: false
42+
type: boolean
3843

3944
jobs:
4045
# -----------------------------------------------------------------------------------------------
@@ -123,6 +128,13 @@ jobs:
123128
# ------------------------------------------------------------
124129
# Build
125130
# ------------------------------------------------------------
131+
- name: Pull
132+
uses: cytopia/[email protected]
133+
with:
134+
command: |
135+
make docker-pull-base-image VERSION=${{ matrix.version }} STAGE=${{ inputs.stage }} FLAVOUR=${{ matrix.flavour }} ARCH=${{ matrix.arch }}
136+
if: ${{ inputs.pull_base_image }}
137+
126138
- name: Build
127139
uses: cytopia/[email protected]
128140
with:

0 commit comments

Comments
 (0)