Skip to content

Commit

Permalink
build-args added
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Oct 11, 2023
1 parent 9123534 commit 596d4f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/docker_bullseye_altuser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
tags: rpi-jukebox-rfid-bullseye-altuser:latest
cache-from: type=gha,scope=${{ github.ref_name }}-bullseye-altuser
cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-bullseye-altuser
build-args: |
USER_NAME=hans
GIT_BRANCH=${{ github.ref_name }}
GIT_URL="${{ github.server_url }}/${{ github.repository }}"
- name: Run run_installation_tests.sh Bullseye ARMv7
uses: tj-actions/docker-run@v2
Expand Down
3 changes: 2 additions & 1 deletion ci/Dockerfile.bullseye.test_install_altuser.armv7
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ WORKDIR /code

RUN echo "DOCKER_RUNNING=$DOCKER_RUNNING" ;\
echo "USER=$USER" ;\
echo "USER_GROUP=$USER_GROUP" ;\
echo "GIT_BRANCH=$GIT_BRANCH" ;\
echo "GIT_URL=$GIT_URL" ;\
echo "GIT_URL=$GIT_URL"

RUN groupadd --gid 1000 wurst ;\
useradd -u 1000 -g 1000 -G sudo -d /home/$USER -m -s /bin/bash -p '$1$iV7TOwOe$6ojkJQXyEA9bHd/SqNLNj0' $USER ;\
Expand Down

0 comments on commit 596d4f0

Please sign in to comment.