CI fix docker image format in PRs (#74766)

* fix docker image format
This commit is contained in:
Kevin Minehart
2023-09-12 14:02:32 -05:00
committed by GitHub
parent 733044ee4b
commit 3d50a6c87f
2 changed files with 6 additions and 6 deletions

View File

@ -41,7 +41,7 @@ def rgm_build_docker_step(packages, ubuntu, alpine, depends_on = ["rgm-package"]
"commands": [
"docker run --privileged --rm tonistiigi/binfmt --install all",
"/src/grafana-build docker " +
"--package=$(cat {} | grep tar.gz | grep -v docker | grep -v sha256) ".format(packages) +
"$(cat {} | grep tar.gz | grep -v docker | grep -v sha256 | awk '{{print \"--package=\" $0}}') ".format(packages) +
"--ubuntu-base={} ".format(ubuntu) +
"--alpine-base={} ".format(alpine) +
"--tag-format='{}' ".format(tag_format) +