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