From e98b082ec5525a9a414cd0d33942b247398974e9 Mon Sep 17 00:00:00 2001 From: Gabriel Radureau Date: Thu, 9 Apr 2026 09:15:18 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20restore=20proper=20job=20?= =?UTF-8?q?dependencies=20and=20remove=20Swagger=20steps=20from=20docker-p?= =?UTF-8?q?ush?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci-cd.yaml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/.gitea/workflows/ci-cd.yaml b/.gitea/workflows/ci-cd.yaml index 147a9e0..5487772 100644 --- a/.gitea/workflows/ci-cd.yaml +++ b/.gitea/workflows/ci-cd.yaml @@ -333,7 +333,7 @@ jobs: docker-push: name: Docker Push - needs: build-cache + needs: [build-cache, ci-pipeline] runs-on: ubuntu-latest-ca # Run conditions: standard checks + main branch + feature branch + docker_only override if: "!contains(github.event.head_commit.message, '[skip ci]') && github.actor != 'ci-bot' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/feature/move-docker-job' || github.event.inputs.docker_only == 'true')" @@ -342,22 +342,6 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Restore Swagger Docs Cache - id: cache-swagger-restore - uses: actions/cache/restore@v5 - with: - path: | - pkg/server/docs/docs.go - pkg/server/docs/swagger.json - pkg/server/docs/swagger.yaml - key: swagger-docs-${{ hashFiles('cmd/server/main.go', 'pkg/greet/*.go', 'pkg/server/*.go', 'go.mod') }} - restore-keys: | - swagger-docs- - - - name: Generate Swagger Docs (if not cached) - if: steps.cache-swagger-restore.outputs.cache-hit != 'true' || github.event.inputs.skip_ci == 'true' - run: go generate ./pkg/server - - name: Login to Gitea Container Registry uses: docker/login-action@v3 with: