Skip to content

Commit

Permalink
take over the home
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsiaw committed Feb 5, 2024
1 parent 3358cf7 commit 6fbaf13
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6fbaf13

Please sign in to comment.