Skip to content

Commit

Permalink
try customizing branch name with github vars
Browse files Browse the repository at this point in the history
  • Loading branch information
kb-kerem committed Jul 18, 2024
1 parent cf2d436 commit 3536172
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dotnet-xunit/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,9 @@ WORKDIR /workspace

COPY . .

ARG GITHUB_RUN_ID
ARG GITHUB_RUN_ATTEMPT
ARG SAUCE_VISUAL_BRANCH_NAME=${GITHUB_RUN_ID}${GITHUB_RUN_ATTEMPT}

RUN --mount=type=secret,id=dotenv,target=/workspace/.env env $(cat /workspace/.env | xargs) runme run dotnet-test
RUN --mount=type=secret,id=dotenv,target=/workspace/.env env $(cat /workspace/.env | xargs) runme run dotnet-test-modified

0 comments on commit 3536172

Please sign in to comment.