diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 4073d45..7c7843e 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -20,8 +20,12 @@ jobs: name: Build and push uses: docker/build-push-action@v4 with: + context: . push: true tags: artifacts.iflytek.com/docker-private/ai_devops/xhli18/gitea_actions:latest + registry: artifacts.iflytek.com + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - 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