Skip to content

Commit 9be7a3c

Browse files
committed
ci: re-use local source to build binary images
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
1 parent 666996b commit 9be7a3c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/merge.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ jobs:
7979
outputs:
8080
digest: ${{ fromJSON(steps.bake.outputs.metadata).image-cross['containerimage.digest'] }}
8181
steps:
82+
-
83+
name: Checkout
84+
uses: actions/checkout@v4
8285
-
8386
name: Login to DockerHub
8487
if: github.event_name != 'pull_request'
@@ -105,12 +108,12 @@ jobs:
105108
bake-target: meta-helper
106109
-
107110
name: Build and push image
108-
uses: docker/bake-action@v5
111+
uses: docker/bake-action@v6
109112
id: bake
110113
with:
114+
source: .
111115
files: |
112116
./docker-bake.hcl
113-
cwd://${{ steps.meta.outputs.bake-file }}
114117
targets: image-cross
115118
push: ${{ github.event_name != 'pull_request' }}
116119
sbom: true

0 commit comments

Comments
 (0)