From f4fbc125dac26cd71c489083d2d70b41bfd5693f Mon Sep 17 00:00:00 2001 From: kobergj Date: Fri, 2 Oct 2026 19:22:00 +0200 Subject: [PATCH] ci: disable docker-build in the release workflow (#13057) The release workflow built the oCIS image locally only to run a Trivy gate against it. The Alpine edge pin for vips makes that build break whenever the rolling repository drops the pinned revision, failing the whole release for a reason unrelated to the release content. Image building, scanning and publishing already happen in the owncloud-docker/ocis repository, which keeps a per-minor .trivyignore. Disable the job and unwire it from the downstream jobs, matching stable-8.1, stable-8.2 and master. Signed-off-by: Julian Koberg Co-authored-by: Claude Opus 5 --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07683cdacf9..a132347a90d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -94,10 +94,12 @@ jobs: !.git retention-days: 1 - # Builds the release image locally and runs the Trivy security gate against it. - # Image publishing to Docker Hub happens in a separate repository; this job only - # builds (load, no push) so the vulnerability gate still blocks a bad release. + # Disabled, like on stable-8.1, stable-8.2 and master. Image building, scanning + # and publishing happen in the owncloud-docker/ocis repository, which keeps a + # per-minor .trivyignore. Kept here (not deleted) to stay in sync with the + # newer branches. docker-build: + if: false name: docker-build (${{ matrix.arch }}) runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }} needs: [determine-release-type, generate-code, security-scan-trivy] @@ -253,7 +255,7 @@ jobs: create-github-release: runs-on: ubuntu-latest - needs: [determine-release-type, build-binaries, license-check, generate-changelog, security-scan-trivy, docker-build] + needs: [determine-release-type, build-binaries, license-check, generate-changelog, security-scan-trivy] steps: - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 with: @@ -284,7 +286,6 @@ jobs: needs: - determine-release-type - generate-code - - docker-build - build-binaries - security-scan-trivy - license-check @@ -318,7 +319,6 @@ jobs: needs: - determine-release-type - generate-code - - docker-build - build-binaries - security-scan-trivy - license-check