fix: quoted variables in publish step
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
0cb9651aba
commit
e52824ce1c
|
@ -1,14 +1,4 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
debug:publish-nightly:
|
|
||||||
image: albedo.lan:5000/upend-deploy:latest
|
|
||||||
pull: true
|
|
||||||
commands:
|
|
||||||
- echo "$GPG_SIGN_KEY" | wc -l
|
|
||||||
- echo "$SSH_CONFIG"
|
|
||||||
- echo "$GPG_SIGN_KEY" | gpg --import
|
|
||||||
- "false"
|
|
||||||
secrets: [gpg_sign_key, ssh_config, ssh_upload_key, ssh_known_hosts]
|
|
||||||
|
|
||||||
prepare:cache:frontend:
|
prepare:cache:frontend:
|
||||||
group: init
|
group: init
|
||||||
image: albedo.lan:5000/upend-node:latest
|
image: albedo.lan:5000/upend-node:latest
|
||||||
|
@ -133,13 +123,13 @@ pipeline:
|
||||||
image: albedo.lan:5000/upend-deploy:latest
|
image: albedo.lan:5000/upend-deploy:latest
|
||||||
pull: true
|
pull: true
|
||||||
commands:
|
commands:
|
||||||
- echo -e $GPG_SIGN_KEY | gpg --import
|
- echo "$GPG_SIGN_KEY" | gpg --import
|
||||||
- gpg --clear-sign "*.AppImage"
|
|
||||||
- mkdir -p $HOME/.ssh
|
- mkdir -p $HOME/.ssh
|
||||||
- echo -e $SSH_CONFIG > $HOME/.ssh/config
|
- echo "$SSH_CONFIG" > $HOME/.ssh/config
|
||||||
- echo -e $SSH_UPLOAD_KEY > $HOME/.ssh/id_rsa
|
- echo "$SSH_UPLOAD_KEY" > $HOME/.ssh/id_rsa
|
||||||
- echo -e $SSH_KNOWN_HOSTS > $HOME/.ssh/known_hosts
|
- echo "$SSH_KNOWN_HOSTS" > $HOME/.ssh/known_hosts
|
||||||
- chmod 600 $HOME/.ssh/*
|
- chmod 600 $HOME/.ssh/*
|
||||||
|
- gpg --clear-sign "*.AppImage"
|
||||||
- scp "*.AppImage" "*.asc" mainsite:releases
|
- scp "*.AppImage" "*.asc" mainsite:releases
|
||||||
secrets: [gpg_sign_key, ssh_config, ssh_upload_key, ssh_known_hosts]
|
secrets: [gpg_sign_key, ssh_config, ssh_upload_key, ssh_known_hosts]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue