mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-17 12:19:24 +08:00
Rework registry login
This commit is contained in:
parent
396b34c7a7
commit
8ab64d8dd9
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ steps:
|
||||||
- event: push
|
- event: push
|
||||||
commands:
|
commands:
|
||||||
- docker build . -t git.keannu1.duckdns.org/keannu125/drf_template
|
- docker build . -t git.keannu1.duckdns.org/keannu125/drf_template
|
||||||
- echo "${REGISTRY_PASSWORD:?}" | docker login --password-stdin -u "${REGISTRY_USERNAME:?}" -- "${CI_REGISTRY:?}"
|
- echo "$REGISTRY_PASSWORD" | docker login --password-stdin -u "$REGISTRY_USERNAME" -- "$CI_REGISTRY"
|
||||||
- docker push git.keannu1.duckdns.org/keannu125/drf_template
|
- docker push git.keannu1.duckdns.org/keannu125/drf_template
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|
Loading…
Reference in a new issue