From 270d87036c12922f15939a97e0fcdba99e0d4853 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 28 Jul 2023 13:41:51 +0000 Subject: [PATCH] Update .github/workflows/docker-publish.yaml --- .github/workflows/docker-publish.yaml | 36 ++++++++++++++------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml index 4e24b31..ccb3032 100644 --- a/.github/workflows/docker-publish.yaml +++ b/.github/workflows/docker-publish.yaml @@ -1,22 +1,24 @@ name: Build & push docker image -inputs: - registry: - required: false - type: string - image: - required: true - type: string - tag: - required: false - type: string -secrets: - registry_user: - required: true - type: string - registry_pass: - required: true - type: string +on: + workflow_call: + inputs: + registry: + required: false + type: string + image: + required: true + type: string + tag: + required: false + type: string + secrets: + registry_user: + required: true + type: string + registry_pass: + required: true + type: string jobs: Build: