From cef8ae8b24137eccbc1c8a80b85bc13cb43bfa07 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 28 Jul 2023 16:42:48 +0000 Subject: [PATCH] Update docker/action.yaml --- docker/action.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/docker/action.yaml b/docker/action.yaml index f130905..0582459 100644 --- a/docker/action.yaml +++ b/docker/action.yaml @@ -5,19 +5,18 @@ 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 + image: + required: true + type: string + tag: + required: false + type: string runs: using: composite @@ -26,7 +25,7 @@ runs: - name: Login to registry run: | REGISTRY=$([ -n "${{inputs.registry}}" ] && echo "${{inputs.registry}}" || echo "$GITHUB_SERVER_URL") - echo "${{secrets.registry_pass}}" | docker login -u "${{secrets.registry_user}}" --password-stdin "$REGISTRY" + echo "${{inputs.registry_pass}}" | docker login -u "${{inputs.registry_user}}" --password-stdin "$REGISTRY" - uses: actions/checkout@v3