Commit 245819a4 authored by Clement Bois's avatar Clement Bois
Browse files

Merge branch 'scope-python3-installation' into 'master'

Resolve "Unexpected error occurs without changing any inputs or major version of component"

Closes #162

See merge request to-be-continuous/docker!179
parents d839eec1 a98941d9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -828,6 +828,7 @@ stages:
      cp -f "$BUILDTOOL_HOME/.docker/config.json" "$BUILDTOOL_HOME/skopeo/.docker/src-config.json"
      # use a merged auth config for the destination image
      echo "${docker_release_config_json}" > "$BUILDTOOL_HOME/skopeo/.docker/release-only.json"
      maybe_install_python3
      merge_json "$BUILDTOOL_HOME/skopeo/.docker/src-config.json" "$BUILDTOOL_HOME/skopeo/.docker/release-only.json" > "$BUILDTOOL_HOME/skopeo/.docker/dest-config.json"
    fi

@@ -860,7 +861,6 @@ stages:
  function init_workspace() {
    install_custom_ca_certs
    maybe_install_awk
    maybe_install_python3
    unscope_variables
    eval_all_secrets
    configure_registries_auth
@@ -960,6 +960,7 @@ stages:
      return
    fi
    # check if tag matches pattern
    maybe_install_python3
    # shellcheck disable=SC2154
    matches=$(python3 -c "import re;print('match' if re.match(r'$DOCKER_RELEASE_EXTRA_TAGS_PATTERN', '$docker_tag') else '')")
    if [[ "$matches" ]]