From 91d4a97082c5928a00c63e90c2147194e7a919ef Mon Sep 17 00:00:00 2001 From: cloudix_mcp_server Date: Sun, 14 Jun 2026 10:50:37 -0400 Subject: [PATCH] fix: use repo root as context, not ./pkg --- .gitea/workflows/main.yaml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index 8eb6d82..c4ead20 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -1,35 +1,30 @@ name: Main Release - on: push: branches: [master] - jobs: hadolint: runs-on: ubuntu-latest - continue-on-error: true steps: - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 - uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0 + continue-on-error: true with: dockerfile: pkg/Dockerfile - test: runs-on: ubuntu-latest steps: - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 - uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4 - - run: docker build -f pkg/Dockerfile -t ci-image:${{ github.sha }} ./pkg + - run: docker build -f pkg/Dockerfile -t ci-image:${{ github.sha }} . - run: bash tests/test.sh ci-image:${{ github.sha }} - build: needs: [test] runs-on: ubuntu-latest steps: - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 - uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4 - - run: docker build -f pkg/Dockerfile -t jcabillot/send:${{ github.sha }} ./pkg - + - run: docker build -f pkg/Dockerfile -t jcabillot/send:${{ github.sha }} . tag: needs: [build] runs-on: ubuntu-latest