diff --git a/.gitea/workflows/docker-publish-ghcr.yaml b/.gitea/workflows/docker-publish-ghcr.yaml index e198c08..25e2941 100644 --- a/.gitea/workflows/docker-publish-ghcr.yaml +++ b/.gitea/workflows/docker-publish-ghcr.yaml @@ -4,11 +4,13 @@ on: workflow_call: inputs: repository: - required: true + required: false type: string + default: ${{ github.repository }} ref: - required: true + required: false type: string + default: ${{ github.ref }} image_name: required: true type: string diff --git a/.gitea/workflows/docker-publish-private.yaml b/.gitea/workflows/docker-publish-private.yaml index 2c19d49..91c6cfe 100644 --- a/.gitea/workflows/docker-publish-private.yaml +++ b/.gitea/workflows/docker-publish-private.yaml @@ -4,11 +4,13 @@ on: workflow_call: inputs: repository: - required: true + required: false type: string + default: ${{ github.repository }} ref: - required: true + required: false type: string + default: ${{ github.ref }} image_name: required: true type: string