Add TAG to .env for build
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Alessio Davoli 2023-05-31 17:59:52 +02:00
parent bdc5897f5a
commit c3428e1b0a

View file

@ -10,6 +10,7 @@ pipeline:
- npm run build
# Log into docker registry
- echo "$${DOCKER_PASSWORD}" | docker login --password-stdin --username "$${DOCKER_USERNAME}" git.webdeploy.it
- echo "TAG=$(jq -r .version ./package.json)" >> .env
# Build image
- docker-compose -f docker-compose.build.yml build
- docker push git.webdeploy.it/pianello/pianello-web-app:latest