-
Notifications
You must be signed in to change notification settings - Fork 0
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
Change: Add base-image-label as input, control image-tags by base-image-label. #111
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer a more clear naming of the input, what do you think?
Co-authored-by: Jaspar Stach <[email protected]>
Co-authored-by: Jaspar Stach <[email protected]>
Move image-tags to docker-metadata action
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you setup a test workflow and upload a test image somehow?
|
Co-authored-by: Jaspar Stach <[email protected]>
What
Add
image-typebase-image-label as input for container-build-push-2nd-gen workflow.The
image-typebase-image-label is an enum with the following possible values:According to the set value the image-tags are enabled.
Why
We wanted to merge the container.yml and push.yml workflows in gvm-libs.
The legacy workflow builds additional gvm-libs containers with oldstable and testing tags.
To represent this logic we need to parametrize the container-build-push-2nd-gen workflow somehow.
References
https://jira.greenbone.net/browse/DEVOPS-1230
This is the PR requiring the changes: greenbone/gvm-libs#838
Test is here:
https://github.com/greenbone/pipeline-experiments/actions/workflows/test-container-build-push-2nd-gen.yml