From 9c7b9ff5d7bf2c47091e1537768ec5cebccf5916 Mon Sep 17 00:00:00 2001 From: xhli18 Date: Mon, 27 Mar 2023 10:11:53 +0800 Subject: [PATCH] test push image --- .gitea/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index da85cdb..1ac947e 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -10,11 +10,17 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 + - + name: Login to Docker Hub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_PASSWORD }} - name: Build and push uses: docker/build-push-action@v4 with: - push: false + push: true tags: artifacts.iflytek.com/docker-private/atp/whybeyoung/yolov5:latest - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - name: Check out repository code