优化
This commit is contained in:
@@ -9,8 +9,9 @@ with DAG(
|
|||||||
catchup=True,
|
catchup=True,
|
||||||
description="小区自动化入库"
|
description="小区自动化入库"
|
||||||
) as dag:
|
) as dag:
|
||||||
t1 = BashOperator(
|
t1 = DockerOperator(
|
||||||
task_id='comm_add_dag',
|
image='192.168.0.19:9012/comm-add:1.0.1',
|
||||||
bash_command='docker pull 192.168.0.19:9012/comm-add:1.0.1',
|
command='',
|
||||||
|
task_id='comm_add_dag'
|
||||||
)
|
)
|
||||||
t1
|
t1
|
||||||
Reference in New Issue
Block a user