fix: yaml syntax
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
s3lph 2023-11-11 05:19:36 +01:00
parent 389279dbad
commit 91806b878c
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

@ -7,7 +7,8 @@ steps:
pull: true pull: true
commands: commands:
- mkdir -p /kaniko/.docker - 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 /kaniko/executor
--dockerfile kaniko.Dockerfile --dockerfile kaniko.Dockerfile
@ -21,7 +22,8 @@ steps:
pull: true pull: true
commands: commands:
- mkdir -p /kaniko/.docker - 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 /kaniko/executor
--dockerfile builder.Dockerfile --dockerfile builder.Dockerfile