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"