Add TAG to .env for build
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This commit is contained in:
parent
bdc5897f5a
commit
c3428e1b0a
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ pipeline:
|
||||||
- npm run build
|
- npm run build
|
||||||
# Log into docker registry
|
# Log into docker registry
|
||||||
- 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
|
||||||
# Build image
|
# Build image
|
||||||
- docker-compose -f docker-compose.build.yml build
|
- docker-compose -f docker-compose.build.yml build
|
||||||
- docker push git.webdeploy.it/pianello/pianello-web-app:latest
|
- docker push git.webdeploy.it/pianello/pianello-web-app:latest
|
||||||
|
|
Loading…
Reference in a new issue