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