Skip to content

Commit 0e068a3

Browse files
committed
Update action for correct image name
1 parent 1ebec00 commit 0e068a3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/build-and-push-hf.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,7 @@ jobs:
7878
if: env.BUILD_CONTEXT == 'ci'
7979
run: echo 'LABEL quay.expires-after=7d#' >> detectors/Dockerfile.hf
8080
- name: Build image
81-
run: |
82-
cd detectors
83-
ls
84-
docker build -t ${{ env.IMAGE_NAME }}:$TAG ./Dockerfile.hf
81+
run: docker build -t ${{ env.IMAGE_NAME }}:$TAG -f detectors/Dockerfile.hf detectors
8582
- name: Log in to Quay
8683
run: docker login -u ${{ secrets.QUAY_ROBOT_USERNAME }} -p ${{ secrets.QUAY_ROBOT_SECRET }} quay.io
8784
- name: Push to Quay CI repo

0 commit comments

Comments
 (0)