Skip to content

Commit e69314f

Browse files
author
pasqualedevita
committed
fix: Add labels
1 parent 76ebbd1 commit e69314f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ fi
3939
printf "Configuring GitHub Runner for $GITHUB_REPOSITORY_BANNER\n"
4040
printf "\tRunner Name: $RUNNER_NAME\n\tWorking Directory: $WORK_DIR\n\tReplace Existing Runners: $REPLACEMENT_POLICY_LABEL\n"
4141
if [ "$INTERACTIVE" == "FALSE" ]; then
42-
echo -ne "$REPLACEMENT_POLICY" | ./actions-runner/config.sh --url $GITHUB_REPOSITORY --token $GITHUB_TOKEN --agent $RUNNER_NAME --work $WORK_DIR
42+
echo -ne "$REPLACEMENT_POLICY" | ./actions-runner/config.sh --url $GITHUB_REPOSITORY --token $GITHUB_TOKEN --agent $RUNNER_NAME --work $WORK_DIR --labels $LABELS
4343
else
44-
./actions-runner/config.sh --url $GITHUB_REPOSITORY --token $GITHUB_TOKEN --agent $RUNNER_NAME --work $WORK_DIR
44+
./actions-runner/config.sh --url $GITHUB_REPOSITORY --token $GITHUB_TOKEN --agent $RUNNER_NAME --work $WORK_DIR --labels $LABELS
4545
fi
4646

4747
# Start the runner.

0 commit comments

Comments
 (0)