fix: dockerfile path
This commit is contained in:
parent
4990e609d2
commit
25392b8951
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ runs:
|
||||||
- |
|
- |
|
||||||
mkdir -p /kaniko/.docker
|
mkdir -p /kaniko/.docker
|
||||||
echo '{"auths":{"${{ inputs.registry }}":{"auth":"'$(printf "%s:%s" "${{ inputs.username }}" "${{ inputs.password }}" | base64 | tr -d '\n')'"}}}' > /kaniko/.docker/config.json
|
echo '{"auths":{"${{ inputs.registry }}":{"auth":"'$(printf "%s:%s" "${{ inputs.username }}" "${{ inputs.password }}" | base64 | tr -d '\n')'"}}}' > /kaniko/.docker/config.json
|
||||||
cat > /tmp/Dockerfile <<EOF
|
cat > Dockerfile <<EOF
|
||||||
${{ inputs.Dockerfile }}
|
${{ inputs.Dockerfile }}
|
||||||
EOF
|
EOF
|
||||||
/kaniko/executor --dockerfile /tmp/Dockerfile --destination ${{ inputs.image }}
|
/kaniko/executor --dockerfile Dockerfile --destination ${{ inputs.image }}
|
||||||
|
|
Loading…
Reference in a new issue