This commit is contained in:
@@ -42,7 +42,9 @@ async def docker_push(image: str):
|
|||||||
async def main():
|
async def main():
|
||||||
# Load the YAML file
|
# Load the YAML file
|
||||||
async with aiofiles.open('images.yaml', 'r') as file:
|
async with aiofiles.open('images.yaml', 'r') as file:
|
||||||
config = yaml.safe_load(file)
|
config = await file.read()
|
||||||
|
# Parse the YAML file
|
||||||
|
config = yaml.safe_load(config)
|
||||||
|
|
||||||
config = Config(**config)
|
config = Config(**config)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user