Fix build yaml
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Alessio Davoli 2023-09-25 17:44:09 +02:00
parent 725c7f0f07
commit 70af2ef43c

View file

@ -4,7 +4,7 @@ steps:
secrets: [docker_password, docker_username, runner_private_key] secrets: [docker_password, docker_username, runner_private_key]
commands: commands:
################### 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 ./frontend/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