Skip to content

Commit 2a4bbbb

Browse files
committed
add override for building images even if they havent changed
1 parent 58aa139 commit 2a4bbbb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/base.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ jobs:
6464
- 'official-templates/pytorch/**'
6565
6666
- name: Setup Docker
67-
if: steps.changes.outputs.pytorch_any_changed == 'true'
67+
if: github.event_name == 'workflow_dispatch' || steps.changes.outputs.pytorch_any_changed == 'true'
6868
uses: ./.github/actions/docker-setup
6969
id: setup
7070
with:
7171
dockerhub-username: ${{ secrets.DOCKERHUB_USERNAME }}
7272
dockerhub-token: ${{ secrets.DOCKERHUB_TOKEN }}
7373

7474
- name: Build pytorch images
75-
if: steps.changes.outputs.pytorch_any_changed == 'true'
75+
if: github.event_name == 'workflow_dispatch' || steps.changes.outputs.pytorch_any_changed == 'true'
7676
uses: docker/bake-action@v6
7777
env:
7878
BUILDX_BAKE_ENTITLEMENTS_FS: 0

0 commit comments

Comments
 (0)