File tree Expand file tree Collapse file tree 3 files changed +12
-42
lines changed
Expand file tree Collapse file tree 3 files changed +12
-42
lines changed Original file line number Diff line number Diff line change 1+ # Workflow used to make a request to proxy.golang.org to refresh cache on https://pkg.go.dev/github.com/docker/buildx
2+ # when a released of buildx is produced
13name : godev
24
35on :
1012 runs-on : ubuntu-latest
1113 steps :
1214 -
13- name : Call pkg.go.dev
14- uses : docker/bake-action@v1
15+ name : Set up Go
16+ uses : actions/setup-go@v2
1517 with :
16- targets : godev
18+ go-version : 1.16
19+ -
20+ name : Call pkg.go.dev
21+ run : |
22+ go get github.com/${GITHUB_REPOSITORY}@${GITHUB_REF#refs/tags/}
23+ env :
24+ GO111MODULE : on
25+ GOPROXY : https://proxy.golang.org
Original file line number Diff line number Diff line change @@ -60,19 +60,6 @@ target "test" {
6060 output = [" ." ]
6161}
6262
63- variable "GITHUB_REPOSITORY" {}
64- variable "GITHUB_REF" {}
65- target "godev" {
66- args = {
67- GO_VERSION = GO_VERSION
68- GITHUB_REPOSITORY = GITHUB_REPOSITORY
69- GITHUB_REF = GITHUB_REF
70- }
71- dockerfile = " ./hack/godev.Dockerfile"
72- target = " godev"
73- output = [" type=cacheonly" ]
74- }
75-
7663target "license-validate" {
7764 dockerfile = " ./hack/license.Dockerfile"
7865 target = " validate"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments