Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
aentinger committed Aug 7, 2024
1 parent 9de4115 commit ceafd83
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-yocto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ jobs:

- name: Create a new user
run: |
sudo useradd -m myuser --uid 1000 --gid 1000
echo "myuser:password" | sudo chpasswd
sudo usermod -aG sudo myuser
sudo useradd -m builder --uid 1024 --gid 1024
echo "builder:builder" | sudo chpasswd
sudo usermod -aG sudo builder
- name: Get UID and GID of the new user and store in environment
id: ids
run: |
echo "UID=$(id -u myuser)" >> $GITHUB_ENV
echo "GID=$(id -g myuser)" >> $GITHUB_ENV
echo "UID=$(id -u builder)" >> $GITHUB_ENV
echo "GID=$(id -g builder)" >> $GITHUB_ENV
- name: Build Docker image
run: |
Expand Down

0 comments on commit ceafd83

Please sign in to comment.