From 2fd2489c1f35366a55061c4fa8d65be8f86088d1 Mon Sep 17 00:00:00 2001 From: David Siaw Date: Mon, 5 Feb 2024 16:32:21 +0900 Subject: [PATCH] fix issue with pip install --- .github/workflows/build-reverse-proxy.yml | 1 + .github/workflows/build-run-pack.yml | 1 + .github/workflows/build.yml | 5 +++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-reverse-proxy.yml b/.github/workflows/build-reverse-proxy.yml index aabfe523..c89bbb91 100644 --- a/.github/workflows/build-reverse-proxy.yml +++ b/.github/workflows/build-reverse-proxy.yml @@ -30,6 +30,7 @@ jobs: - name: prepare run: |- apk add --no-cache python3 py3-pip + find /usr/lib/ -type f -name 'EXTERNALLY-MANAGED' -delete pip3 install --upgrade pip pip3 install awscli - uses: actions/checkout@v2 diff --git a/.github/workflows/build-run-pack.yml b/.github/workflows/build-run-pack.yml index 9db384af..6fca0371 100644 --- a/.github/workflows/build-run-pack.yml +++ b/.github/workflows/build-run-pack.yml @@ -16,6 +16,7 @@ jobs: - name: prepare run: |- apk add --no-cache python3 py3-pip + find /usr/lib/ -type f -name 'EXTERNALLY-MANAGED' -delete pip3 install --upgrade pip pip3 install awscli - uses: actions/checkout@v3 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d1a59b80..02d6f47b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,14 +7,15 @@ jobs: BARCELONA_ENDPOINT: https://barcelona.degica.com DOCKER_REPOSITORY: public.ecr.aws/degica/barcelona DOCKER_BUILDKIT: '1' - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: workaround run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: prepare run: |- + apk update apk add --no-cache python3 py3-pip - pip3 install --upgrade pip + find /usr/lib/ -type f -name 'EXTERNALLY-MANAGED' -delete pip3 install awscli - uses: actions/checkout@v3 - name: setup