refactor: streamline image build process in run.sh
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
This commit is contained in:
parent
93e29fdde6
commit
a9e3cad8ba
|
@ -24,13 +24,8 @@ export CI=true
|
|||
export TZ=Europe/Madrid
|
||||
|
||||
# IMAGES
|
||||
docker build -t registry.verdnatura.es/salix-back:dev -f "$salix_dir/back/Dockerfile" "$salix_dir"
|
||||
cd "$salix_dir" && npx myt run -t
|
||||
docker exec vn-database sh -c "rm -rf /mysql-template"
|
||||
docker exec vn-database sh -c "cp -a /var/lib/mysql /mysql-template"
|
||||
docker commit vn-database registry.verdnatura.es/salix-db:dev
|
||||
docker rm -f vn-database
|
||||
cd "$current_dir"
|
||||
docker-compose -f test/cypress/docker-compose.yml --project-directory . pull db
|
||||
docker-compose -f test/cypress/docker-compose.yml --project-directory . pull back
|
||||
docker build -f ./docs/Dockerfile.dev -t lilium-dev .
|
||||
# END IMAGES
|
||||
|
||||
|
|
Loading…
Reference in New Issue