Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix broken runner image #67

Merged
merged 1 commit into from
Aug 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"))
}
Loading