You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-09 23:07:35 +02: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:
5
.github/workflows/generic_build.yml
vendored
5
.github/workflows/generic_build.yml
vendored
@@ -7,6 +7,11 @@ on:
|
||||
required: false
|
||||
type: string
|
||||
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:
|
||||
contents: read
|
||||
|
Reference in New Issue
Block a user