forked from whybeyoung/Gradio_YOLOv5_Det
fix docker build and push action
This commit is contained in:
parent
a0e2f534ae
commit
896f49940f
|
@ -20,8 +20,8 @@ jobs:
|
|||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: artifacts.iflytek.com
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
-
|
||||
|
@ -30,10 +30,7 @@ jobs:
|
|||
docker version
|
||||
docker buildx build -t artifacts.iflytek.com/docker-private/atp/whybeyoung/yolov5:latest . --file ${{ github.workspace }}/Dockerfile
|
||||
docker push artifacts.iflytek.com/docker-private/atp/whybeyoung/yolov5:latest
|
||||
# -
|
||||
# name: Build and push
|
||||
# uses: docker/build-push-action@v4
|
||||
# with:
|
||||
# push: true
|
||||
# tags: artifacts.iflytek.com/docker-private/atp/whybeyoung/yolov5:latest
|
||||
-
|
||||
name: Helm version
|
||||
run: helm version
|
||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||
|
|
Loading…
Reference in New Issue