From 2f645e40290dd6e3476e75fe3816df6dc48742ef Mon Sep 17 00:00:00 2001 From: devthejo Date: Wed, 15 Nov 2023 18:03:37 +0100 Subject: [PATCH] feat: outputs meta tags --- .forgejo/workflows/build.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 4780f3f..9195b26 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -2,6 +2,9 @@ name: Build on: workflow_call: + secrets: + M8A_ORG_BOT_PACKAGE_TOKEN: + required: true inputs: context: type: string @@ -11,9 +14,10 @@ on: type: string default: Dockerfile required: false - secrets: - M8A_ORG_BOT_PACKAGE_TOKEN: - required: true + outputs: + tags: + description: "Docker image tags" + value: ${{ jobs.build.outputs.tags }} concurrency: cancel-in-progress: true @@ -21,6 +25,8 @@ concurrency: jobs: build: + outputs: + tags: ${{ steps.meta.outputs.tags }} runs-on: ubuntu-latest container: # see https://code.forgejo.org/forgejo/act#runners