Skip to content

Commit

Permalink
update magefile
Browse files Browse the repository at this point in the history
  • Loading branch information
frostbyte73 committed Jun 20, 2024
1 parent b0c82ff commit 10807d3
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
const (
gstVersion = "1.22.12"
libniceVersion = "0.1.21"
chromiumVersion = "124.0.6367.201"
chromiumVersion = "125.0.6422.141"
dockerBuild = "docker build"
dockerBuildX = "docker buildx build --push --platform linux/amd64,linux/arm64"
)
Expand Down Expand Up @@ -165,23 +165,6 @@ func Build() error {
)
}

func BuildChrome() error {
return mageutil.Run(context.Background(),
"docker pull ubuntu:22.04",
"docker build -t livekit/chrome-installer ./build/chrome",
)
}

func PublishChrome() error {
return mageutil.Run(context.Background(),
"docker pull ubuntu:22.04",
fmt.Sprintf(
"%s -t livekit/chrome-installer:%s ./build/chrome",
dockerBuildX, chromiumVersion,
),
)
}

func BuildTemplate() error {
return mageutil.Run(context.Background(),
"docker pull ubuntu:22.04",
Expand Down

0 comments on commit 10807d3

Please sign in to comment.