mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-17 04:09:25 +08:00
Fix Docker registry credentials
This commit is contained in:
parent
2ab286c91e
commit
f1e6847e21
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ steps:
|
|||
- event: push
|
||||
commands:
|
||||
- docker build . -t git.keannu1.duckdns.org/keannu125/drf_template
|
||||
- echo "$GITEA_PASSWORD" | docker login git.keannu1.duckdns.org --username "$GITEA_USERNAME" --password-stdin
|
||||
- echo "$REGISTRY_PASSWORD" | docker login git.keannu1.duckdns.org --username "$REGISTRY_USERNAME" --password-stdin
|
||||
- docker push git.keannu1.duckdns.org/keannu125/drf_template
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
|
Loading…
Reference in a new issue