Skip to content

Commit

Permalink
[push-ci-image] test
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed May 22, 2024
1 parent 8431f84 commit 270826b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-ci-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
build:
runs-on: ubuntu-22.04

if: ${{ contains(github.event.head_commit.message, '[build-ci-image]') || contains(github.event.head_commit.message, '[push-ci-image]') && '!cancelled()' || github.event_name == 'schedule' }}
if: ${{ contains(github.event.head_commit.message, '[build-ci-image]') || contains(github.event.head_commit.message, '[push-ci-image]')|| github.event_name == 'schedule' && '!cancelled()' }}

strategy:
matrix:
Expand All @@ -36,6 +36,7 @@ jobs:
if [ ${{contains(github.event.head_commit.message, '[build-ci-image]')}} ]; then
echo "TAG=huggingface/transformers-${{ matrix.file }}:dev" >> "$GITHUB_ENV"
echo "setting it to DEV!"
exit 0
else
echo "TAG=huggingface/transformers-${{ matrix.file }}" >> "$GITHUB_ENV"
Expand Down

0 comments on commit 270826b

Please sign in to comment.