From 4990e609d24f84b38cb7fc820d142ffa57f5bdaa Mon Sep 17 00:00:00 2001 From: s3lph Date: Mon, 13 Nov 2023 04:10:22 +0100 Subject: [PATCH] fix: properly run script --- action.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/action.yml b/action.yml index 7b71974..9da4b4a 100644 --- a/action.yml +++ b/action.yml @@ -22,11 +22,12 @@ runs: using: docker image: docker://gcr.io/kaniko-project/executor:debug entrypoint: /bin/sh - steps: - - run: | - mkdir -p /kaniko/.docker - echo '{"auths":{"${{ inputs.registry }}":{"auth":"'$(printf "%s:%s" "${{ inputs.username }}" "${{ inputs.password }}" | base64 | tr -d '\n')'"}}}' > /kaniko/.docker/config.json - cat > /tmp/Dockerfile < /kaniko/.docker/config.json + cat > /tmp/Dockerfile <