Skip to content

Commit 994cb90

Browse files
committed
fix job config
1 parent b103360 commit 994cb90

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build-images.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66

77
env:
88
REGISTRY: ghcr.io
9+
PROVER_IMAGE_NAME: ${{ github.repository }}
10+
STREAMR_IMAGE_NAME: ${{ github.repository }}/streamr-client
11+
912

1013
jobs:
1114
build-and-push-prover-image:
@@ -29,7 +32,7 @@ jobs:
2932
id: meta
3033
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
3134
with:
32-
images: ${{ env.REGISTRY }}/${{ github.repository }}
35+
images: ${{ env.REGISTRY }}/${{ env.PROVER_IMAGE_NAME }}
3336
- name: Build and push Docker image
3437
id: push
3538
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
@@ -42,7 +45,7 @@ jobs:
4245
if: github.event_name != 'pull_request'
4346
uses: actions/attest-build-provenance@v3
4447
with:
45-
subject-name: ${{ env.REGISTRY }}/${{ github.repository }}
48+
subject-name: ${{ env.REGISTRY }}/${{ env.PROVER_IMAGE_NAME }}
4649
subject-digest: ${{ steps.push.outputs.digest }}
4750
push-to-registry: true
4851

@@ -67,7 +70,7 @@ jobs:
6770
id: meta
6871
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
6972
with:
70-
images: ${{ env.REGISTRY }}/streamr-client
73+
images: ${{ env.REGISTRY }}/${{ env.STREAMR_IMAGE_NAME }}
7174
- name: Build and push Docker image
7275
id: push
7376
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
@@ -81,6 +84,6 @@ jobs:
8184
if: github.event_name != 'pull_request'
8285
uses: actions/attest-build-provenance@v3
8386
with:
84-
subject-name: ${{ env.REGISTRY }}/${{ github.repository }}/streamr-client
87+
subject-name: ${{ env.REGISTRY }}/${{ env.STREAMR_IMAGE_NAME }}
8588
subject-digest: ${{ steps.push.outputs.digest }}
8689
push-to-registry: true

0 commit comments

Comments
 (0)