Skip to content

Commit 1975792

Browse files
authored
feat: use gae-runtimes GCR for builders (#117)
* feat: use gae-runtimes GCR for builders This includes the ability to use the latest tag to always test with the latest builder.
1 parent 42e1d91 commit 1975792

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,4 @@ jobs:
3939
-validate-mapping=false \
4040
-builder-source='testdata' \
4141
-builder-target='HTTP' \
42-
-builder-runtime='go113' \
43-
-builder-tag='go113_20220501_1_13_15_RC00'
42+
-builder-runtime='go113'

client/buildpacks.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131

3232
const (
3333
image = "conformance-test-func"
34-
builderURL = "us.gcr.io/fn-img/buildpacks/%s/builder:%s"
34+
builderURL = "gcr.io/buildpacks/builder:%s"
3535
gcfTargetPlatform = "gcf"
3636
)
3737

@@ -82,7 +82,7 @@ func (b *buildpacksFunctionServer) OutputFile() ([]byte, error) {
8282
}
8383

8484
func (b *buildpacksFunctionServer) build(ctx context.Context) error {
85-
builder := fmt.Sprintf(builderURL, b.runtime, b.tag)
85+
builder := fmt.Sprintf(builderURL, b.tag)
8686

8787
cmd := exec.Command("docker", "pull", builder)
8888
output, err := cmd.CombinedOutput()

0 commit comments

Comments
 (0)