diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 8bb712a6..c008caf8 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -13,6 +13,8 @@ jobs: - name: Preparation run: | mkdir backend/client + - name: Fix up git URLs + run: echo -e '[url "https://github.com/"]\n insteadOf = "git@github.com:"' >> ~/.gitconfig - name: Use Node.js uses: actions/setup-node@v1 with: diff --git a/docker/Dockerfile b/docker/Dockerfile index a05a618b..7c9994b8 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,6 +8,7 @@ ENV PUBLIC_PATH="/static/_nuxt/" # hadolint ignore=DL3018 RUN apk add -U --no-cache git python3 make g++ \ + && git config --global url."https://github.com/".insteadOf git://github.com/ \ && yarn install \ && yarn build \ && apk del --no-cache git make g++ diff --git a/docker/Dockerfile.nginx b/docker/Dockerfile.nginx index 9017c0fc..6b155e80 100644 --- a/docker/Dockerfile.nginx +++ b/docker/Dockerfile.nginx @@ -6,6 +6,7 @@ WORKDIR /app RUN apt-get update \ && apt-get install -y git python3 make g++ \ + && git config --global url."https://github.com/".insteadOf git://github.com/ \ && yarn install \ && yarn build \ && apt-get clean