From 89b49174d820a7644dc31947f7d37d2f259b85f6 Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Mon, 19 Aug 2024 18:50:54 +0200 Subject: [PATCH] Clarify region option & log the image actually used for deploy --- action.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/action.yml b/action.yml index f6a62c1..172bad5 100644 --- a/action.yml +++ b/action.yml @@ -5,11 +5,6 @@ branding: icon: 'grid' color: 'purple' inputs: - region: - description: | - Scaleway region ID. - required: true - default: 'fr-par' container_id: description: | The UUID of the container. @@ -33,6 +28,11 @@ inputs: The version of the API to compare against. required: false default: 'v1beta1' + region: + description: | + Scaleway region ID (one of `fr-par`, `nl-ams`, `pl-waw`). + required: false + default: 'fr-par' timeout: description: 'Timeout in minutes for the deployment' required: false @@ -43,6 +43,7 @@ runs: - name: Update container with new image version shell: bash run: > + echo "Updating container image to ${{ inputs.registry_image_url }}" curl \ --request PATCH \ --header "X-Auth-Token: ${{ inputs.secret_key }}" \