fix: properly run script
This commit is contained in:
parent
19963ed238
commit
4990e609d2
1 changed files with 9 additions and 8 deletions
|
@ -22,8 +22,9 @@ runs:
|
|||
using: docker
|
||||
image: docker://gcr.io/kaniko-project/executor:debug
|
||||
entrypoint: /bin/sh
|
||||
steps:
|
||||
- run: |
|
||||
args:
|
||||
- -c
|
||||
- |
|
||||
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 <<EOF
|
||||
|
|
Loading…
Reference in a new issue