mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-17 04:09:25 +08:00
Update .woodpecker.yml secrets
This commit is contained in:
parent
8ab64d8dd9
commit
47613a07d2
1 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@ steps:
|
||||||
- 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
|
||||||
|
secrets: [REGISTRY_USERNAME, REGISTRY_PASSWORD]
|
||||||
- name: update deployment and reset database
|
- name: update deployment and reset database
|
||||||
image: docker
|
image: docker
|
||||||
when:
|
when:
|
||||||
|
@ -29,4 +30,4 @@ steps:
|
||||||
docker compose up -d'
|
docker compose up -d'
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
secrets: [SSH_KEY, REGISTRY_USERNAME, REGISTRY_PASSWORD]
|
secrets: [SSH_KEY]
|
||||||
|
|
Loading…
Reference in a new issue