fix repo caps (#7800)

fixes error introduced in https://github.com/inventree/InvenTree/pull/7785
This commit is contained in:
Matthias Mair 2024-08-03 13:44:19 +02:00 committed by GitHub
parent abe9b19ead
commit 3e5b1a012b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -198,7 +198,7 @@ if __name__ == '__main__':
# Ref: https://getridbug.com/python/how-to-set-environment-variables-in-github-actions-using-python/ # Ref: https://getridbug.com/python/how-to-set-environment-variables-in-github-actions-using-python/
with open(os.getenv('GITHUB_ENV'), 'a') as env_file: with open(os.getenv('GITHUB_ENV'), 'a') as env_file:
# Construct tag string # Construct tag string
tags = ','.join([f'{REPO}:{tag}' for tag in docker_tags]) tags = ','.join([f'{REPO.lower()}:{tag}' for tag in docker_tags])
env_file.write(f'docker_tags={tags}\n') env_file.write(f'docker_tags={tags}\n')