fix: build and publish bins
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Aravinth Manivannan 2022-12-12 21:00:18 +05:30
parent 838cb9387a
commit ef0175eca0
Signed by: realaravinth
GPG Key ID: AD9F0F08E855ED88
2 changed files with 12 additions and 10 deletions

View File

@ -7,6 +7,17 @@ pipeline:
# - make migrate
- make
- make test
- make release
publish_bins:
image: rust
commands:
- apt update
- apt-get -y --no-install-recommends gpg tar curl wget
- echo -n "$RELEASE_BOT_GPG_SIGNING_KEY" | gpg --batch --import --pinentry-mode loopback
- ./scripts/bin-publish.sh publish master latest $DUMBSERVE_PASSWORD
secrets: [ RELEASE_BOT_GPG_SIGNING_KEY, DUMBSERVE_PASSWORD, GPG_PASSWORD ]
publish:
image: plugins/docker
@ -22,12 +33,3 @@ pipeline:
# image: postgres
# environment:
# - POSTGRES_PASSWORD=password
publish_bins:
image: realaravinth/librepages-conductor
commands:
- apt update
- apt-get -y --no-install-recommends gpg tar curl wget
- echo -n "$RELEASE_BOT_GPG_SIGNING_KEY" | gpg --batch --import --pinentry-mode loopback
- ./scripts/bin-publish.sh publish master latest $DUMBSERVE_PASSWORD
secrets: [ RELEASE_BOT_GPG_SIGNING_KEY, DUMBSERVE_PASSWORD, GPG_PASSWORD ]

View File

@ -37,7 +37,7 @@ DOCKER_IMG="realaravinth/$NAME:$3"
get_bin(){
cp /usr/local/bin/conductor $TARGET_DIR
cp target/release/conductor $TARGET_DIR
}
copy() {