fix ci/cd
Deploy db-migrations / db-migrations (push) Successful in 44s

This commit is contained in:
2024-12-03 14:14:58 +02:00
parent a6d492f39e
commit 51894e67ce
2 changed files with 4 additions and 1 deletions
@@ -28,7 +28,8 @@ jobs:
- name: start container
env:
API_URL: http://${{secrets.COUCHDB_USER}}:${{secrets.COUCHDB_PASSWORD}}@127.0.0.1:15984
COUCHDB_USER: ${{secrets.COUCHDB_USER}}
COUCHDB_PASSWORD: ${{secrets.COUCHDB_PASSWORD}}
run: DB_MIGRATIONS_TAG=${{env.GITHUB_SHA}} docker compose -p hereconnect up --pull never db-migrations
- name: cleanup docker image
+2
View File
@@ -24,6 +24,8 @@ services:
image: hereconnect/service-db-migrations:${DB_MIGRATIONS_TAG:-latest}
volumes:
- db_migrations_data:/opt/migrations/data
environment:
- API_URL=http://${COUCHDB_USER}:${COUCHDB_PASSWORD}@couchdb:5984
depends_on:
- couchdb
restart: no