Skip to content

Commit

Permalink
[build-ci-image]
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed May 21, 2024
1 parent e3499e5 commit 46b71fe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
needs: Build pr ci-docker
docker:
- image: |
if contains(github.event.head_commit.message, '[build-ci-image]')
huggingface/transformers-quality:dev
else
huggingface/transformers-quality
if [contains(github.event.head_commit.message, '[build-ci-image]')]; then
huggingface/transformers-quality:dev
else
huggingface/transformers-quality
parallelism: 1
steps:
- checkout
Expand Down Expand Up @@ -127,10 +127,10 @@ jobs:
working_directory: ~/transformers
docker:
- image: |
if contains(github.event.head_commit.message, '[push-ci-image]')
huggingface/transformers-quality:dev
else
huggingface/transformers-quality
if [contains(github.event.head_commit.message, '[build-ci-image]')]; then
huggingface/transformers-quality:dev
else
huggingface/transformers-quality
resource_class: large
environment:
TRANSFORMERS_IS_CI: yes
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-ci-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
file: "./docker/${{ matrix.file }}.dockerfile"
push: ${{ contains(github.event.head_commit.message, '[push-ci-image]') || github.event_name == 'schedule' }}
tags: |
if contains(github.event.head_commit.message, '[build-ci-image]')
huggingface/transformers-${{ matrix.file }}:dev
else
huggingface/transformers-${{ matrix.file }}
if [contains(github.event.head_commit.message, '[build-ci-image]')]; then
huggingface/transformers-quality:dev
else
huggingface/transformers-quality

0 comments on commit 46b71fe

Please sign in to comment.