Compare commits

..

5 Commits

Author SHA1 Message Date
Joe Bellus 81722c7751 Uncommented pipeline conditions 2022-02-17 20:44:35 -05:00
Joe Bellus 2a2bf6fc3c Removed index url 2022-02-17 20:12:13 -05:00
Joe Bellus 4093257ff4 ADded docker info 2022-02-17 19:54:34 -05:00
Joe Bellus 5a4635832b Changed image name 2022-02-17 19:39:20 -05:00
Joe Bellus 30cc2ca44d Updated docker hub location 2022-02-17 19:12:57 -05:00
1 changed files with 8 additions and 7 deletions

View File

@ -22,8 +22,8 @@ build-ui:
- apt-get -y install libssl-dev
- npm install
- npm run build
# rules:
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG
artifacts:
paths:
- dist/
@ -53,8 +53,8 @@ build-musl-bin:
- build-ui
stage: build
image: 'rust:latest'
# rules:
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_TAG
script:
- rustup target add x86_64-unknown-linux-musl
- apt update && apt install -y musl-tools musl-dev
@ -121,11 +121,12 @@ deploy-prod-docker:
stage: deploy
image: docker:latest
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 push fivesigma/vade
# rules:
# - if: $CI_COMMIT_TAG
rules:
- if: $CI_COMMIT_TAG
deploy-binaries:
dependencies: