From 2386450bb6084b97621f31ff59b4fe91cc894a75 Mon Sep 17 00:00:00 2001 From: iQQBot Date: Wed, 18 Dec 2024 08:22:43 +0000 Subject: [PATCH] debug --- .github/workflows/update-image-digest.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/update-image-digest.yml b/.github/workflows/update-image-digest.yml index 873c7d2251e6ca..b98d28785a2fda 100644 --- a/.github/workflows/update-image-digest.yml +++ b/.github/workflows/update-image-digest.yml @@ -64,13 +64,13 @@ jobs: done < <(find "$(pwd)" -type f \( -name "*.yaml" -o -name "*.yml" -o -name "Dockerfile*" -o -name "leeway.Dockerfile" \) -print0) # update for chainguard redis - # redisImageDigest=$(crane digest cgr.dev/chainguard/redis:latest) - # redisExporterDigest=$(crane digest cgr.dev/chainguard/prometheus-redis-exporter:latest) + redisImageDigest=$(crane digest cgr.dev/chainguard/redis:latest) + redisExporterDigest=$(crane digest cgr.dev/chainguard/prometheus-redis-exporter:latest) - # sed -i -e "s/^\(\s*ImageDigest\s*=\s*\)\".*\"/\1\"$redisImageDigest\"/" install/installer/pkg/components/redis/constants.go - # sed -i -e "s/^\(\s*ExporterImageDigest\s*=\s*\)\".*\"/\1\"$redisExporterDigest\"/" install/installer/pkg/components/redis/constants.go - # go fmt install/installer/pkg/components/redis/constants.go + sed -i -e "s/^\(\s*ImageDigest\s*=\s*\)\".*\"/\1\"$redisImageDigest\"/" install/installer/pkg/components/redis/constants.go + sed -i -e "s/^\(\s*ExporterImageDigest\s*=\s*\)\".*\"/\1\"$redisExporterDigest\"/" install/installer/pkg/components/redis/constants.go + go fmt install/installer/pkg/components/redis/constants.go - name: Check workspace id: create_pr shell: bash