Init pipeline (#3)

This commit is contained in:
6543 2024-01-12 22:13:24 +01:00 committed by GitHub
parent a02ccc0680
commit 7afb9b9b04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 150 additions and 7 deletions

View file

@ -2,12 +2,12 @@
set -euo pipefail
export PATH=$PATH:/kaniko/
export PATH="$PATH:/kaniko/"
REGISTRY=${PLUGIN_REGISTRY:-index.docker.io}
if [ "${PLUGIN_USERNAME:-}" ] || [ "${PLUGIN_PASSWORD:-}" ]; then
DOCKER_AUTH=`echo -n "${PLUGIN_USERNAME}:${PLUGIN_PASSWORD}" | base64 | tr -d "\n"`
DOCKER_AUTH=$(echo -n "${PLUGIN_USERNAME}:${PLUGIN_PASSWORD}" | base64 | tr -d "\n")
cat > /kaniko/.docker/config.json <<DOCKERJSON
{