@@ -2,13 +2,8 @@ name: pr
22
33on : [pull_request]
44
5-
65permissions : {}
76
8- env :
9- IMAGE : openpolicyagent/conftest
10- PLATFORMS : linux/amd64,linux/arm64
11-
127jobs :
138 lint :
149 runs-on : ubuntu-latest
@@ -127,46 +122,3 @@ jobs:
127122 - name : test oci push/pull
128123 if : ${{ matrix.os == 'ubuntu-latest' }}
129124 run : ./scripts/push-pull-e2e.sh
130-
131- docker-conftest :
132- runs-on : ubuntu-latest
133- needs :
134- - validate
135- steps :
136- - name : checkout source
137- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # ratchet:actions/checkout@v5
138-
139- - name : setup docker buildx
140- run : docker buildx create --name conftestbuild --use
141-
142- - name : Build Docker image
143- uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # ratchet:docker/build-push-action@v6
144- with :
145- context : .
146- push : false
147- # The foo tag below validates putting one tag per line (like we do in the release flow)
148- # works as expected.
149- tags : |
150- ${{ env.IMAGE }}:latest
151- ${{ env.IMAGE }}:foo
152- platforms : ${{ env.PLATFORMS }}
153-
154- docker-examples :
155- runs-on : ubuntu-latest
156- needs :
157- - validate
158- steps :
159- - name : checkout source
160- uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # ratchet:actions/checkout@v5
161-
162- - name : setup docker buildx
163- run : docker buildx create --name conftestbuild --use
164-
165- - name : Build Docker image
166- uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # ratchet:docker/build-push-action@v6
167- with :
168- context : .
169- target : examples
170- push : false
171- tags : ${{ env.IMAGE }}:examples
172- platforms : ${{ env.PLATFORMS }}
0 commit comments