Skip to content

Commit 220878f

Browse files
authored
ci: automatically build containers on release (#279)
1 parent af00d1f commit 220878f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/op_rbuilder_release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
echo "${{ steps.create-release-draft.outputs.url }}" >> $GITHUB_STEP_SUMMARY
159159
160160
build-docker:
161-
if: ${{ github.event.inputs.build-docker == 'true' }}
161+
if: ${{ (github.ref_type == 'tag') || (github.event.inputs.build-docker == 'true') }}
162162
name: Build and publish Docker image
163163
needs: extract-version
164164
runs-on: ${{ matrix.configs.runner }}

0 commit comments

Comments
 (0)