Skip to content

Commit

Permalink
fix: --disableupdates not working & update to 2.318
Browse files Browse the repository at this point in the history
  • Loading branch information
xDarksome committed Jul 30, 2024
1 parent 21f2a38 commit 41a8e58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM myoung34/github-runner:2.317.0-ubuntu-focal
FROM myoung34/github-runner:2.318.0-ubuntu-focal

# modify actions runner binaries to allow custom cache server implementation
# https://gha-cache-server.falcondev.io/getting-started
RUN sed -i 's/\x41\x00\x43\x00\x54\x00\x49\x00\x4F\x00\x4E\x00\x53\x00\x5F\x00\x43\x00\x41\x00\x43\x00\x48\x00\x45\x00\x5F\x00\x55\x00\x52\x00\x4C\x00/\x41\x00\x43\x00\x54\x00\x49\x00\x4F\x00\x4E\x00\x53\x00\x5F\x00\x43\x00\x41\x00\x43\x00\x48\x00\x45\x00\x5F\x00\x4F\x00\x52\x00\x4C\x00/g' /actions-runner/bin/Runner.Worker.dll

CMD timeout $TIMEOUT ./bin/Runner.Listener run --startuptype service --disableupdate
CMD timeout $TIMEOUT ./bin/Runner.Listener run --startuptype service
1 change: 1 addition & 0 deletions runner/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ resource "aws_ecs_task_definition" "this" {

environment = [
{ name = "ACTIONS_CACHE_URL", value = var.cache_url },
{ name = "DISABLE_AUTO_UPDATE", value = "1" },
]

logConfiguration = {
Expand Down

0 comments on commit 41a8e58

Please sign in to comment.