Skip to content

Commit 399e42e

Browse files
author
Bartłomiej Święcki
committed
fix(github/push): Fix notarization of binaries
The `binaries` job must be a direct requirement for `notarize-binaries` one in order to read its output as a job matrix. Signed-off-by: Bartłomiej Święcki <[email protected]>
1 parent 3028813 commit 399e42e

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

.github/workflows/push.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ jobs:
4040
4141
binaries:
4242
name: Build binaries and notarize sources
43-
needs: [ gosec, old-go ]
43+
needs:
44+
- gosec
45+
- old-go
4446
runs-on: ubuntu-latest
4547
env:
4648
JOB_NAME: ${{ github.job }}
@@ -72,7 +74,7 @@ jobs:
7274

7375
binaries-quick-test:
7476
name: Quick test of compiled binaries
75-
needs: [ binaries ]
77+
needs: binaries
7678
strategy:
7779
matrix:
7880
include:
@@ -173,7 +175,10 @@ jobs:
173175
174176
notarize-binaries:
175177
name: Notarize binaries
176-
needs: [ binaries-quick-test, stress-tests ]
178+
needs:
179+
- binaries
180+
- binaries-quick-test
181+
- stress-tests
177182
runs-on: ubuntu-latest
178183
strategy:
179184
matrix: ${{fromJson(needs.binaries.outputs.matrix)}}
@@ -193,7 +198,10 @@ jobs:
193198

194199
images:
195200
name: Build and notarize Docker Images
196-
needs: [ binaries-quick-test, stress-tests ]
201+
needs:
202+
- binaries
203+
- binaries-quick-test
204+
- stress-tests
197205
runs-on: ubuntu-latest
198206
env:
199207
JOB_NAME: ${{ github.job }}
@@ -221,7 +229,7 @@ jobs:
221229
docker build --tag "${DOCKER_IMAGE_IMMUCLIENT}:dev" -f Dockerfile.immuclient .
222230
223231
docker login -u "${{ secrets.REGISTRY_USER }}" -p "${{ secrets.REGISTRY_PASS }}"
224-
232+
225233
docker push "${DOCKER_IMAGE_IMMUDB}:dev"
226234
docker push "${DOCKER_IMAGE_IMMUDB}:dev-${DEBIAN_VERSION}"
227235
docker push "${DOCKER_IMAGE_IMMUDB}:dev-${ALMA_VERSION}"
@@ -273,10 +281,12 @@ jobs:
273281
uses: docker://codenotary/cas:bom-docker
274282
with:
275283
args: n docker://${{ env.DOCKER_IMAGE_IMMUCLIENT }}:dev --host cas.codenotary.com --api-key ${{ secrets.CAS_API_KEY }}
276-
284+
277285
coveralls:
278286
name: Publish coverage
279-
needs: [ gosec, old-go ]
287+
needs:
288+
- gosec
289+
- old-go
280290
runs-on: ubuntu-latest
281291
steps:
282292
- uses: actions/setup-go@v3

0 commit comments

Comments
 (0)