fix: dockerfile path

This commit is contained in:
s3lph 2023-11-13 04:12:11 +01:00
parent 4990e609d2
commit 25392b8951
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

@ -27,7 +27,7 @@ runs:
- |
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
cat > Dockerfile <<EOF
${{ inputs.Dockerfile }}
EOF
/kaniko/executor --dockerfile /tmp/Dockerfile --destination ${{ inputs.image }}
/kaniko/executor --dockerfile Dockerfile --destination ${{ inputs.image }}