mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
add outputs
to workflow_call
on generic_build
(#2780)
Looking at https://docs.github.com/en/actions/using-workflows/reusing-workflows#using-outputs-from-a-reusable-workflow, we can see that we need to manually set the outputs for a whole generic workflow. This commit fixes an issue where the cache key was not set properly as the input was empty (because the output of the previous job was not actually set).
This commit is contained in:
parent
32c508aa2a
commit
7fe6748637
5
.github/workflows/generic_build.yml
vendored
5
.github/workflows/generic_build.yml
vendored
|
@ -7,6 +7,11 @@ on:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: linux/amd64
|
default: linux/amd64
|
||||||
|
outputs:
|
||||||
|
build-cache-key:
|
||||||
|
description: The cache key to use when restoring an image later
|
||||||
|
value: ${{ jobs.build-image.outputs.build-cache-key }}
|
||||||
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
Loading…
Reference in a new issue