docker test
parent
510378e0e5
commit
b51eb5c962
|
|
@ -7,10 +7,11 @@ 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
|
||||
|
|
|
|||
Loading…
Reference in New Issue