parent
db5a8cf9e4
commit
daf761f21d
1 changed files with 2 additions and 2 deletions
|
@ -6,11 +6,11 @@ pipeline:
|
|||
- apk add --no-cache openssh docker docker-compose jq
|
||||
################### Provisioning
|
||||
- echo "$${DOCKER_PASSWORD}" | docker login --password-stdin --username "$${DOCKER_USERNAME}" git.webdeploy.it
|
||||
- echo "TAG=$(jq -r .version ./package.json)" >> .env
|
||||
- echo "TAG=$(jq -r .version ./frontend/package.json)" >> .env
|
||||
- echo "ORIGIN=https://pianello.webdeploy.it" >> .env
|
||||
- docker-compose -f docker-compose.build.yml build
|
||||
- docker push git.webdeploy.it/pianello/frontend:latest
|
||||
- docker push git.webdeploy.it/pianello/frontend:$(jq -r .version ./package.json)
|
||||
- docker push git.webdeploy.it/pianello/frontend:$(jq -r .version ./frontend/package.json)
|
||||
# DEPLOY STUFF
|
||||
- eval $(ssh-agent -s)
|
||||
- mkdir -p ~/.ssh
|
||||
|
|
Loading…
Reference in a new issue