From 91806b878ccdb4bbffb13b382d5d609093c20854 Mon Sep 17 00:00:00 2001 From: s3lph Date: Sat, 11 Nov 2023 05:19:36 +0100 Subject: [PATCH] fix: yaml syntax --- .woodpecker.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 1a8bed2..59c26ea 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -7,7 +7,8 @@ steps: pull: true commands: - mkdir -p /kaniko/.docker - - - echo "{\"auths\":{\"git.kabelsalat.ch\":{\"auth\":\""$(printf "%s:%s" "$${GITEA_API_USERNAME}" "$${GITEA_API_PASSWORD}" | base64 | tr -d '\n')"\"}}}" > /kaniko/.docker/config.json + - >- + echo "{\"auths\":{\"git.kabelsalat.ch\":{\"auth\":\""$(printf "%s:%s" "$${GITEA_API_USERNAME}" "$${GITEA_API_PASSWORD}" | base64 | tr -d '\n')"\"}}}" > /kaniko/.docker/config.json - >- /kaniko/executor --dockerfile kaniko.Dockerfile @@ -21,7 +22,8 @@ steps: pull: true commands: - mkdir -p /kaniko/.docker - - - echo "{\"auths\":{\"git.kabelsalat.ch\":{\"auth\":\""$(printf "%s:%s" "$${GITEA_API_USERNAME}" "$${GITEA_API_PASSWORD}" | base64 | tr -d '\n')"\"}}}" > /kaniko/.docker/config.json + - >- + echo "{\"auths\":{\"git.kabelsalat.ch\":{\"auth\":\""$(printf "%s:%s" "$${GITEA_API_USERNAME}" "$${GITEA_API_PASSWORD}" | base64 | tr -d '\n')"\"}}}" > /kaniko/.docker/config.json - >- /kaniko/executor --dockerfile builder.Dockerfile