Skip to content

Commit 4cc26da

Browse files
committed
ci: run test image build on smb branch
1 parent 1ead65f commit 4cc26da

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/test_image.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Test Docker Image
22

33
on:
4+
push:
5+
branches:
6+
- fix/smb-session-lifecycle
47
workflow_dispatch:
58
inputs:
69
image_tag:
@@ -126,11 +129,11 @@ jobs:
126129
file: Dockerfile.ci
127130
push: true
128131
build-args: |
129-
BASE_IMAGE_TAG=${{ inputs.base_image_tag }}
132+
BASE_IMAGE_TAG=${{ inputs.base_image_tag || 'base' }}
130133
tags: |
131134
${{ steps.meta.outputs.image }}:${{ steps.meta.outputs.tag }}
132135
${{ steps.meta.outputs.image }}:${{ github.sha }}
133-
platforms: ${{ inputs.platforms }}
136+
platforms: ${{ inputs.platforms || 'linux/amd64,linux/arm64' }}
134137

135138
- name: Print image
136139
run: |

0 commit comments

Comments
 (0)