Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function tag.sh doe not export IMAGE_NAME #95

Merged
merged 2 commits into from
Feb 10, 2025
Merged

Function tag.sh doe not export IMAGE_NAME #95

merged 2 commits into from
Feb 10, 2025

Conversation

phracek
Copy link
Member

@phracek phracek commented Dec 4, 2024

Script tag.sh https://github.com/sclorg/container-common-scripts/blob/master/tag.sh does not export
IMAGE_NAME variable. Later on we would like to replace building containers by Python class and this could be a last but not
the first step of migration.

The variable is mandatory.

Instead of it let's get it from /.image-id file

…ob/master/tag.sh

does not export IMAGE_NAME.
The variable is mandatory.

Instead of it let's get it from <version>/.image-id file

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
We do not need environment variable IMAGE_NAME at all.

This is already implement e.g. here: https://github.com/sclorg/container-common-scripts/blob/master/tag.sh#L33

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
@phracek phracek merged commit 4f6f850 into main Feb 10, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant