diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d1a59b80..1c8dd71a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,12 +7,18 @@ 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 add gawk + awk -i inplace -F: ' + $1 == "root" {print $1 ":" $2 ":" $3 ":" $4 ":" $5 ":/github/home:" $7} + $1 != "root" {print $0} + ' /etc/passwd + chown -R root: ~ apk add --no-cache python3 py3-pip pip3 install --upgrade pip pip3 install awscli