Skip to content

Commit 4fd1a05

Browse files
authored
Deprecate PDP-Vanilla build steps in release workflow (#295)
* Deprecate PDP-Vanilla build steps in release workflow * Deprecate PDP-Vanilla build steps in release workflow
1 parent 4998b68 commit 4fd1a05

File tree

1 file changed

+0
-48
lines changed

1 file changed

+0
-48
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -14,54 +14,6 @@ jobs:
1414
uses: ./.github/workflows/tests.yml
1515
secrets: inherit
1616

17-
build-and-push-pdp-vanilla:
18-
needs: pdp-tests
19-
runs-on: ubuntu-latest
20-
steps:
21-
- name: Checkout code
22-
uses: actions/checkout@v4
23-
24-
- name: Set up QEMU
25-
uses: docker/setup-qemu-action@v3
26-
27-
- name: Set up Docker Buildx
28-
uses: docker/setup-buildx-action@v3
29-
30-
- name: Login to Docker Hub
31-
uses: docker/login-action@v3
32-
with:
33-
username: ${{ secrets.DOCKERHUB_USERNAME }}
34-
password: ${{ secrets.DOCKERHUB_TOKEN }}
35-
36-
- name: Pre build - for PDP-Vanilla
37-
run: echo "${{ github.event.release.tag_name }}" | cut -d '-' -f 1 > permit_pdp_version
38-
39-
- name: Build and push PDP-Vanilla - (official release)
40-
if: "!github.event.release.prerelease"
41-
uses: docker/build-push-action@v5
42-
with:
43-
push: true
44-
context: .
45-
platforms: linux/amd64,linux/arm64
46-
tags: permitio/pdp-v2-vanilla:${{ github.event.release.tag_name }}, permitio/pdp-v2-vanilla:latest
47-
cache-from: type=gha
48-
cache-to: type=gha,mode=max
49-
build-args: |
50-
OPA_BUILD=vanilla
51-
52-
- name: Build and push PDP-Vanilla image - (pre-release)
53-
if: "github.event.release.prerelease"
54-
uses: docker/build-push-action@v5
55-
with:
56-
push: true
57-
context: .
58-
platforms: linux/amd64,linux/arm64
59-
tags: permitio/pdp-v2-vanilla:${{ github.event.release.tag_name }}
60-
cache-from: type=gha
61-
cache-to: type=gha,mode=max
62-
build-args: |
63-
OPA_BUILD=vanilla
64-
6517
build-and-push-pdp:
6618
needs: pdp-tests
6719
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)