From c8d433224c89d38844d5ea1c55b2db55cbd7719c Mon Sep 17 00:00:00 2001 From: Dan Yishai Date: Sun, 23 Nov 2025 17:22:40 +0200 Subject: [PATCH 1/2] Deprecate PDP-Vanilla build steps in release workflow --- .github/workflows/release.yml | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79e22add..14f8ed23 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,32 +36,6 @@ jobs: - name: Pre build - for PDP-Vanilla run: echo "${{ github.event.release.tag_name }}" | cut -d '-' -f 1 > permit_pdp_version - - name: Build and push PDP-Vanilla - (official release) - if: "!github.event.release.prerelease" - uses: docker/build-push-action@v5 - with: - push: true - context: . - platforms: linux/amd64,linux/arm64 - tags: permitio/pdp-v2-vanilla:${{ github.event.release.tag_name }}, permitio/pdp-v2-vanilla:latest - cache-from: type=gha - cache-to: type=gha,mode=max - build-args: | - OPA_BUILD=vanilla - - - name: Build and push PDP-Vanilla image - (pre-release) - if: "github.event.release.prerelease" - uses: docker/build-push-action@v5 - with: - push: true - context: . - platforms: linux/amd64,linux/arm64 - tags: permitio/pdp-v2-vanilla:${{ github.event.release.tag_name }} - cache-from: type=gha - cache-to: type=gha,mode=max - build-args: | - OPA_BUILD=vanilla - build-and-push-pdp: needs: pdp-tests runs-on: ubuntu-latest From b34525ab0116d403a630e1553dd1f7316c09d0b4 Mon Sep 17 00:00:00 2001 From: Dan Yishai Date: Sun, 23 Nov 2025 17:47:56 +0200 Subject: [PATCH 2/2] Deprecate PDP-Vanilla build steps in release workflow --- .github/workflows/release.yml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 14f8ed23..31086e5d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,28 +14,6 @@ jobs: uses: ./.github/workflows/tests.yml secrets: inherit - build-and-push-pdp-vanilla: - needs: pdp-tests - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Pre build - for PDP-Vanilla - run: echo "${{ github.event.release.tag_name }}" | cut -d '-' -f 1 > permit_pdp_version - build-and-push-pdp: needs: pdp-tests runs-on: ubuntu-latest