Skip to content

Commit d484f48

Browse files
committed
Fix sample contract image builds
The sample contract images were all building with the peer context instead of the correct sample contexts Signed-off-by: James Taylor <[email protected]>
1 parent a44d82f commit d484f48

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/docker-build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ on:
1616
required: false
1717
type: string
1818

19-
permissions:
20-
contents: write
21-
packages: write
22-
id-token: write
23-
2419
jobs:
2520
build:
21+
permissions:
22+
contents: write
23+
packages: write
24+
id-token: write
25+
2626
runs-on: ubuntu-latest
2727
outputs:
2828
image_digest: ${{ steps.push.outputs.digest }}
@@ -55,7 +55,7 @@ jobs:
5555
id: push
5656
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6
5757
with:
58-
context: .
58+
context: ${{ inputs.path }}
5959
platforms: linux/amd64,linux/arm64
6060
push: ${{ github.event_name != 'pull_request' }}
6161
tags: ${{ steps.meta.outputs.tags }}

0 commit comments

Comments
 (0)