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

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 migrate
- make - make
- make test - 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: publish:
image: plugins/docker image: plugins/docker
@ -22,12 +33,3 @@ pipeline:
# image: postgres # image: postgres
# environment: # environment:
# - POSTGRES_PASSWORD=password # - 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(){ get_bin(){
cp /usr/local/bin/conductor $TARGET_DIR cp target/release/conductor $TARGET_DIR
} }
copy() { copy() {