We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea8c6c7 commit 4716bfeCopy full SHA for 4716bfe
1 file changed
.github/workflows/image.yaml
@@ -19,6 +19,12 @@ jobs:
19
registry: quay.io
20
username: ${{ secrets.QUAY_USERNAME }}
21
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
22
+ - name: Run basic sanity checks/tests on the new image before pushing
23
+ run: |
24
+ echo 'check if accelerate is installed and in the PATH'
25
+ IMAGE_NAME=${{ vars.QUAY_REPOSITORY }}fms-hf-tuning:main-nvcr-latest
26
+ docker run --rm -it --entrypoint which "$IMAGE_NAME" accelerate
27
+ echo 'checks done'
28
- name: Push docker image for every commit to Quay.io as dev images
29
run: |
30
docker push ${{ vars.QUAY_REPOSITORY }}fms-hf-tuning:main-nvcr-latest
0 commit comments