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
|
- apk add --no-cache openssh docker docker-compose jq
|
||||||
################### Provisioning
|
################### Provisioning
|
||||||
- echo "$${DOCKER_PASSWORD}" | docker login --password-stdin --username "$${DOCKER_USERNAME}" git.webdeploy.it
|
- 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
|
- echo "ORIGIN=https://pianello.webdeploy.it" >> .env
|
||||||
- docker-compose -f docker-compose.build.yml build
|
- docker-compose -f docker-compose.build.yml build
|
||||||
- docker push git.webdeploy.it/pianello/frontend:latest
|
- 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
|
# DEPLOY STUFF
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
|
|
Loading…
Reference in a new issue