From e769d42777b7d48a5ad7ae50aa9dd8b4726a161e Mon Sep 17 00:00:00 2001 From: bLue Date: Wed, 10 Apr 2024 16:32:00 +0800 Subject: [PATCH] chore: add judger agent github actions --- .github/workflows/judger-agent.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/judger-agent.yml b/.github/workflows/judger-agent.yml index a429a87..3969ac4 100644 --- a/.github/workflows/judger-agent.yml +++ b/.github/workflows/judger-agent.yml @@ -18,7 +18,6 @@ jobs: # - uses: actions/setup-node@v3 # with: # node-version: 16 - - run: pwd && ls -la - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - name: Login to DockerHub @@ -29,8 +28,8 @@ jobs: - name: Build and Push Image uses: docker/build-push-action@v3 with: - context: ./ - file: ./Dockerfile + context: ./src/sub-app/judger-agent + file: ./src/sub-app/judger-agent/Dockerfile push: true tags: | ${{ secrets.DOCKERHUB_USERNAME }}/onlinejudge3-judger-agent:1