From eb3384736994ca63db8c1f9076752aa6f825d4cb Mon Sep 17 00:00:00 2001 From: Sebastian Tobie Date: Mon, 3 Feb 2025 09:04:34 +0100 Subject: [PATCH] added -x to the shell --- .forgejo/steps/push/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/steps/push/action.yml b/.forgejo/steps/push/action.yml index c00da1c..34b2f7a 100644 --- a/.forgejo/steps/push/action.yml +++ b/.forgejo/steps/push/action.yml @@ -38,11 +38,12 @@ runs: env: REGISTRY_AUTH_FILE: ${{env.RUNNER_TEMP}}/auth.json - name: skopeo copy - shell: sh + shell: bash env: REGISTRY_AUTH_FILE: ${{env.RUNNER_TEMP}}/auth.json REGISTRY: ${{ inputs.registry }} run: | + set -x server=${REGISTRY//https:/docker:} if [[ "$server" != docker://* ]] ; then server="docker://$server"