diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 3ac24ae..78eef9d 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -18,10 +18,16 @@ jobs: password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v4 - with: - push: true - tags: artifacts.iflytek.com/docker-private/ai_devops/gitea_actions:latest + run: | + docker version + docker build -t artifacts.iflytek.com/docker-private/ai_devops/gitea_actions:latest . + docker push artifacts.iflytek.com/docker-private/ai_devops/gitea_actions:latest +# - +# name: Build and push +# uses: docker/build-push-action@v4 +# with: +# push: true +# tags: artifacts.iflytek.com/docker-private/ai_devops/gitea_actions:latest - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - name: Check out repository code uses: actions/checkout@v3