Skip to content

Commit

Permalink
fix broken runner image (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
aweris authored Aug 9, 2023
1 parent f9afc77 commit 05888b9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions internal/dagger/images/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,12 @@ import (

// RunnerBase returns a container with the base image for the runner.
func RunnerBase() *dagger.Container {
return config.Client().Container().
Pipeline("Runner Base Image").
From("ghcr.io/catthehacker/ubuntu:act-22.04")
// original image is ghcr.io/catthehacker/ubuntu:act-latest-20230801. moved to ghcr.io/aweris/gale/runner/ubuntu:22.04
// to work around issues similar to https://github.com/catthehacker/docker_images/issues/102
return config.Client().Container().From("ghcr.io/aweris/gale/runner/ubuntu:22.04")
}

// GoBase returns a container with the base image for the go
func GoBase() *dagger.Container {
return config.Client().Container().
Pipeline("Go Base Image").
From("golang:" + strings.TrimPrefix(runtime.Version(), "go"))
return config.Client().Container().From("golang:" + strings.TrimPrefix(runtime.Version(), "go"))
}

0 comments on commit 05888b9

Please sign in to comment.