From 9e673edd18e8e8f313b1dca1dae99a1d84d18391 Mon Sep 17 00:00:00 2001 From: pieter Date: Fri, 5 Dec 2025 01:34:34 +0000 Subject: [PATCH] =?UTF-8?q?.gitea/workflows/update-images.yaml=20=E3=82=92?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/update-images.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/update-images.yaml b/.gitea/workflows/update-images.yaml index 43b902f..ddbbb0b 100644 --- a/.gitea/workflows/update-images.yaml +++ b/.gitea/workflows/update-images.yaml @@ -57,10 +57,10 @@ jobs: if [ "$NGINX_CURRENT" != "$NGINX_LATEST" ] || [ "$WP_CURRENT" != "$WP_LATEST" ]; then echo "update_needed=true" >> $GITHUB_OUTPUT - echo "Check: Update is needed" + echo "Update is needed" else echo "update_needed=false" >> $GITHUB_OUTPUT - echo "Info: Already up to date" + echo "Already up to date" fi - name: Update values.yaml @@ -69,17 +69,15 @@ jobs: set -e echo "Updating values.yaml..." - # Nginxタグ更新 NGINX_OLD="${{ steps.nginx.outputs.current }}" NGINX_NEW="${{ steps.nginx.outputs.latest }}" sed -i "s|tag: \"${NGINX_OLD}\"|tag: \"${NGINX_NEW}\"|g" values.yaml - # WordPressタグ更新 WP_OLD="${{ steps.wordpress.outputs.current }}" WP_NEW="${{ steps.wordpress.outputs.latest }}" sed -i "s|tag: \"${WP_OLD}\"|tag: \"${WP_NEW}\"|g" values.yaml - echo "Check: values.yaml updated" + echo "values.yaml updated" git diff values.yaml - name: Update Chart.yaml version