mirror of
https://github.com/vx3r/wg-gen-web.git
synced 2024-11-23 02:42:07 +01:00
docker build in custom network, internet access
This commit is contained in:
parent
500c3e005b
commit
08faa8c53f
@ -30,6 +30,6 @@ deploy:
|
||||
- master
|
||||
script:
|
||||
- docker login -u ${CI_REGISTRY_USER} -p ${REGISTRY_PASSWORD} ${CI_REGISTRY}
|
||||
- docker build --tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA} --tag ${CI_REGISTRY_IMAGE}:latest .
|
||||
- docker build --network br_docker --tag ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA} --tag ${CI_REGISTRY_IMAGE}:latest .
|
||||
- docker push ${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}
|
||||
- docker push ${CI_REGISTRY_IMAGE}:latest
|
||||
|
Loading…
Reference in New Issue
Block a user