This commit is contained in:
parent
838cb9387a
commit
ef0175eca0
2 changed files with 12 additions and 10 deletions
|
@ -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 ]
|
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue