Commit 27a67e03 authored by Tobias Florek's avatar Tobias Florek Committed by Pierre Smeyers
Browse files

fix(publish): fix pushing extra tags

The script pushing extra tags (based on skopeo) was buggy (files contained spurious extra spaces)
parent 2f46f0fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -470,7 +470,7 @@ stages:
      do
        log_info "... pushing extra tag: \\e[33;1m${extra_tag}\\e[0m..."
        # shellcheck disable=SC2086,SC2154
        skopeo copy --src-authfile " ~/.docker/release-config.json" --dest-authfile " ~/.docker/release-config.json" ${S2I_PUBLISH_ARGS} "docker://$S2I_RELEASE_IMAGE" "docker://$s2i_repository:$extra_tag"
        skopeo copy --src-authfile ~/.docker/release-config.json --dest-authfile ~/.docker/release-config.json ${S2I_PUBLISH_ARGS} "docker://$S2I_RELEASE_IMAGE" "docker://$s2i_repository:$extra_tag"
      done
    else
      log_info "Extra tags configured, but the released tag (\\e[33;1m${s2i_tag}\\e[0m) doesn't match \$S2I_RELEASE_EXTRA_TAGS_PATTERN..."