|
43 | 43 | REF=main |
44 | 44 | push: true |
45 | 45 | tags: huggingface/transformers-all-latest-gpu${{ inputs.image_postfix }} |
| 46 | + # Push CI images still need to be re-built daily |
| 47 | + - |
| 48 | + name: Build and push (for Push CI) in a daily basis |
| 49 | + # This condition allows `schedule` events, or `push` events that trigger this workflow NOT via `workflow_call`. |
| 50 | + # The later case is useful for manual image building for debugging purpose. Use another tag in this case! |
| 51 | + if: inputs.image_postfix != '-push-ci' |
| 52 | + uses: docker/build-push-action@v2 |
| 53 | + with: |
| 54 | + context: ./docker/transformers-all-latest-gpu |
| 55 | + build-args: | |
| 56 | + REF=main |
| 57 | + push: true |
| 58 | + tags: huggingface/transformers-all-latest-gpu-push-ci |
46 | 59 |
|
47 | 60 | latest-with-torch-nightly-docker: |
48 | 61 | name: "Nightly PyTorch + Stable TensorFlow" |
@@ -98,6 +111,19 @@ jobs: |
98 | 111 | REF=main |
99 | 112 | push: true |
100 | 113 | tags: huggingface/transformers-pytorch-deepspeed-latest-gpu${{ inputs.image_postfix }} |
| 114 | + # Push CI images still need to be re-built daily |
| 115 | + - |
| 116 | + name: Build and push (for Push CI) in a daily basis |
| 117 | + # This condition allows `schedule` events, or `push` events that trigger this workflow NOT via `workflow_call`. |
| 118 | + # The later case is useful for manual image building for debugging purpose. Use another tag in this case! |
| 119 | + if: inputs.image_postfix != '-push-ci' |
| 120 | + uses: docker/build-push-action@v2 |
| 121 | + with: |
| 122 | + context: ./docker/transformers-pytorch-deepspeed-latest-gpu |
| 123 | + build-args: | |
| 124 | + REF=main |
| 125 | + push: true |
| 126 | + tags: huggingface/transformers-pytorch-deepspeed-latest-gpu-push-ci |
101 | 127 |
|
102 | 128 | nightly-torch-deepspeed-docker: |
103 | 129 | name: "Nightly PyTorch + DeepSpeed" |
|
0 commit comments