Skip to content

Commit

Permalink
add dependencies por alpine container
Browse files Browse the repository at this point in the history
  • Loading branch information
schlapzz committed May 25, 2023
1 parent 062370d commit 5ad25d7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ci/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ func main() {
goffContainer := daggerClient.Container().From("docker.io/alpine:3.18").
WithFile("/bin/goff", goffBin).
WithFile("/bin/glab", glabBin).
WithEntrypoint([]string{"/bin/goff"})
WithExec([]string{"apk", "add", "git", "helm"})

//Push into registry
goffContainer = goffContainer.WithEntrypoint([]string{"/bin/goff"})

//Push into registry
_, err = goffContainer.WithRegistryAuth("quay.io", regUser, secret).Publish(ctx, "quay.io/puzzle/goff")
if err != nil {
panic(err)
Expand Down

0 comments on commit 5ad25d7

Please sign in to comment.