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: