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