Secret test

test
dan 2020-10-30 21:58:27 -06:00
parent 4eeda7392e
commit eb481285b5
1 changed files with 1 additions and 2 deletions

View File

@ -7,11 +7,10 @@ steps:
volumes:
- name: docker_sock
path: /var/run/docker.sock
secrets: [ DB_PASS ]
commands:
- docker build --tag ofb_api .
- docker rm -f ofb_api || true
- docker run --name ofb_api --restart always -p "8222:8222" -e ConnectionStrings__OFBContext="server=172.17.0.1;database=admin_ofb_missionary;user=admin_ofbbutte;password=${DB_PASS};" ofb_api
- docker run --name ofb_api --restart always -p "8222:8222" -e ConnectionStrings__OFBContext="server=172.17.0.1;database=admin_ofb_missionary;user=admin_ofbbutte;password=$DB_PASS;" ofb_api
volumes:
- name: docker_sock