Compare commits
5 Commits
426bedffa3
...
81722c7751
Author | SHA1 | Date |
---|---|---|
Joe Bellus | 81722c7751 | |
Joe Bellus | 2a2bf6fc3c | |
Joe Bellus | 4093257ff4 | |
Joe Bellus | 5a4635832b | |
Joe Bellus | 30cc2ca44d |
|
@ -22,8 +22,8 @@ build-ui:
|
||||||
- apt-get -y install libssl-dev
|
- apt-get -y install libssl-dev
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
# rules:
|
rules:
|
||||||
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- dist/
|
- dist/
|
||||||
|
@ -53,8 +53,8 @@ build-musl-bin:
|
||||||
- build-ui
|
- build-ui
|
||||||
stage: build
|
stage: build
|
||||||
image: 'rust:latest'
|
image: 'rust:latest'
|
||||||
# rules:
|
rules:
|
||||||
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG
|
||||||
script:
|
script:
|
||||||
- rustup target add x86_64-unknown-linux-musl
|
- rustup target add x86_64-unknown-linux-musl
|
||||||
- apt update && apt install -y musl-tools musl-dev
|
- apt update && apt install -y musl-tools musl-dev
|
||||||
|
@ -121,11 +121,12 @@ deploy-prod-docker:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: docker:latest
|
image: docker:latest
|
||||||
script:
|
script:
|
||||||
- docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASS docker.io
|
- docker info
|
||||||
|
- docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASS
|
||||||
- docker build -t fivesigma/vade .
|
- docker build -t fivesigma/vade .
|
||||||
- docker push fivesigma/vade
|
- docker push fivesigma/vade
|
||||||
# rules:
|
rules:
|
||||||
# - if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
|
|
||||||
deploy-binaries:
|
deploy-binaries:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in New Issue