Skip to content

Commit 3536172

Browse files
committed
try customizing branch name with github vars
1 parent cf2d436 commit 3536172

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

dotnet-xunit/Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,9 @@ WORKDIR /workspace
2121

2222
COPY . .
2323

24+
ARG GITHUB_RUN_ID
25+
ARG GITHUB_RUN_ATTEMPT
26+
ARG SAUCE_VISUAL_BRANCH_NAME=${GITHUB_RUN_ID}${GITHUB_RUN_ATTEMPT}
27+
2428
RUN --mount=type=secret,id=dotenv,target=/workspace/.env env $(cat /workspace/.env | xargs) runme run dotnet-test
2529
RUN --mount=type=secret,id=dotenv,target=/workspace/.env env $(cat /workspace/.env | xargs) runme run dotnet-test-modified

0 commit comments

Comments
 (0)