-
Notifications
You must be signed in to change notification settings - Fork 12
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
chore: add expiry label to images #1446
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.
Labels appear empty
docker inspect quay.io/stackrox-io/scanner-db-slim:2.33.x-13-gd0b3f1e261 | jq '.[].Config.Labels' | grep -E "version|release|quay"
"io.buildah.version": "1.29.0",
"quay.expires-after": "",
"release": "",
"version": ""
apparently we don't use the make targets when building in CI. I'll look into it |
d0b3f1e
to
649f04c
Compare
649f04c
to
948fb35
Compare
@RTann: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
CI failure is unrelated |
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.
This look OK, but I wonder why we're duplicating the docker build
command in the workflow definition? 🤔
.PHONY: image-build-args | ||
image-build-args: | ||
@echo $(IMAGE_BUILD_ARGS) |
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.
Rather than expose this here, and duplicate the docker build
command in the GHA yaml file, why not just call make scanner-image...
in the GH action in the first place?
cc @BradLugo
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'm going to merge as-is, as this repo is more-or-less in maintenance mode, so I think this is ok
See stackrox/stackrox#10385 for Scanner V4