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