.
This commit is contained in:
parent
0231a81878
commit
04fd28863f
|
@ -11,7 +11,11 @@ local config = {
|
|||
};
|
||||
[
|
||||
register,
|
||||
registry(config) {
|
||||
registry(
|
||||
config {
|
||||
script: 'sh .drone/initilise-images.sh',
|
||||
},
|
||||
) {
|
||||
trigger +: {
|
||||
event +: [
|
||||
'promote',
|
||||
|
|
|
@ -30,7 +30,7 @@ steps:
|
|||
commands:
|
||||
- set -e
|
||||
- export REGISTRY=$${REGISTRY_DOMAIN}:$${REGISTRY_PORT}/
|
||||
- sh .drone/lib/initialise-images.sh $${REGISTRY} $${REGISTRY_PASSWORD}
|
||||
- sh .drone/initilise-images.sh $${REGISTRY} $${REGISTRY_PASSWORD}
|
||||
environment:
|
||||
REGISTRY_DOMAIN:
|
||||
from_secret: registry-domain
|
||||
|
|
Loading…
Reference in New Issue