修正主函数中加载 YAML 文件的路径,从 'config.yaml' 更改为 'images.yaml'
Some checks failed
Sync Container Images / sync-images (push) Failing after 48s
Some checks failed
Sync Container Images / sync-images (push) Failing after 48s
This commit is contained in:
parent
4e913fd021
commit
158011247e
2
sync.py
2
sync.py
@ -41,7 +41,7 @@ async def docker_push(image: str):
|
|||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
# Load the YAML file
|
# Load the YAML file
|
||||||
async with aiofiles.open('config.yaml', 'r') as file:
|
async with aiofiles.open('images.yaml', 'r') as file:
|
||||||
config = yaml.safe_load(file)
|
config = yaml.safe_load(file)
|
||||||
|
|
||||||
config = Config(**config)
|
config = Config(**config)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user