File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed
Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1515 type : string
1616 default : linux/amd64
1717 outputs :
18- image :
18+ image_ref :
1919 description : ' Full image ref'
20+ value : ${{ jobs.build_image.outputs.image_ref }}
21+ image :
22+ description : ' The repository part of the image, without the tag'
2023 value : ${{ jobs.build_image.outputs.image }}
24+ tag :
25+ description : ' Only the tag part'
26+ value : ${{ jobs.build_image.outputs.tag }}
27+ digest :
28+ description : ' The sha256 digest for the image produced by Docker builder'
29+ value : ${{ jobs.build_image.outputs.digest }}
2130
2231jobs :
2332 build_image :
3544 packages : write
3645
3746 outputs :
47+ image_ref : ${{ steps.out.outputs.image_ref }}
3848 image : ${{ steps.out.outputs.image }}
49+ tag : ${{ steps.out.outputs.tag }}
50+ digest : ${{ steps.build.outputs.digest }}
3951
4052 steps :
4153 - uses : actions/checkout@v4
8294
8395 - name : Build and push if missing
8496 if : steps.exists.outputs.exists != 'true'
97+ id : build
8598 uses : docker/build-push-action@v6
8699 with :
87100 context : packages/sync-service
98111 - name : Output image ref
99112 id : out
100113 run : |
101- echo "image=${IMAGE}:${TAG}" >> $GITHUB_OUTPUT
114+ echo "image_ref=${IMAGE}:${TAG}" >> $GITHUB_OUTPUT
115+ echo "image=${IMAGE}" >> $GITHUB_OUTPUT
116+ echo "tag=${TAG}" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 7676 run :
7777 working-directory : ${{ matrix.package_dir }}
7878 env :
79- ELECTRIC_IMAGE : ${{ needs.ensure_sync_service_image.outputs.image }}
79+ ELECTRIC_IMAGE : ${{ needs.ensure_sync_service_image.outputs.image_ref }}
8080 steps :
8181 - uses : actions/checkout@v4
8282
You can’t perform that action at this time.
0 commit comments