From cdecbffa830090706e7be6784c8e64fadf14affb Mon Sep 17 00:00:00 2001 From: Mischa Taylor Date: Tue, 19 Nov 2024 09:06:31 -0500 Subject: [PATCH] Rename optional test stage attribute to dev.polymathrobotics.container-build-publish-action.run-test-stage --- bin/run-test-stage.sh | 4 ++-- cinc/cinc-auditor/docker-bake.hcl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/run-test-stage.sh b/bin/run-test-stage.sh index 5f21663..1a32a21 100755 --- a/bin/run-test-stage.sh +++ b/bin/run-test-stage.sh @@ -4,8 +4,8 @@ set -eu -o pipefail json_data="$(docker buildx bake --print 2>/dev/null)" first_build_target=$(echo "$json_data" | jq -r '.target | to_entries[0].value') -if echo "$first_build_target" | jq -e '.labels."dev.polymathrobotics.test.container-build-publish-action.run-test-stage"' > /dev/null; then - run_test_stage=$(echo "$first_build_target" | jq -r '.labels."dev.polymathrobotics.test.container-build-publish-action.run-test-stage"') +if echo "$first_build_target" | jq -e '.labels."dev.polymathrobotics.container-build-publish-action.run-test-stage"' > /dev/null; then + run_test_stage=$(echo "$first_build_target" | jq -r '.labels."dev.polymathrobotics.container-build-publish-action.run-test-stage"') echo "$run_test_stage" else echo "true" diff --git a/cinc/cinc-auditor/docker-bake.hcl b/cinc/cinc-auditor/docker-bake.hcl index 7c1e9c6..52b5b7e 100644 --- a/cinc/cinc-auditor/docker-bake.hcl +++ b/cinc/cinc-auditor/docker-bake.hcl @@ -39,6 +39,6 @@ target "default" { "org.opencontainers.image.description" = "Cinc Auditing and Testing Framework." "org.opencontainers.image.title" = "${TAG_PREFIX}" "org.opencontainers.image.created" = "${timestamp()}" - "dev.polymathrobotics.test.container-build-publish-action.run-test-stage" = "false" + "dev.polymathrobotics.container-build-publish-action.run-test-stage" = "false" } }