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