File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,22 +3,22 @@ name: build-pr
33on :
44 pull_request :
55 branches :
6- - master
6+ - main
77
88jobs :
99 run :
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : checkout source code
13- uses : actions/checkout@master
13+ uses : actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
1414 - name : setup go environment
15- uses : actions/setup-go@v1
15+ uses : actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
1616 with :
17- go-version : ' 1.20.2 '
17+ go-version : ' 1.20'
1818 - name : run tests
1919 run : make test covhtml
2020 - name : upload coverage report
21- uses : actions/upload-artifact@master
21+ uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
2222 with :
2323 name : reggie-coverage-report-${{ github.sha }}
2424 path : coverage.html
Original file line number Diff line number Diff line change @@ -3,22 +3,22 @@ name: build
33on :
44 push :
55 branches :
6- - master
6+ - main
77
88jobs :
99 run :
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : checkout source code
13- uses : actions/checkout@master
13+ uses : actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
1414 - name : setup go environment
15- uses : actions/setup-go@v1
15+ uses : actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
1616 with :
17- go-version : ' 1.20.2 '
17+ go-version : ' 1.20'
1818 - name : run tests
1919 run : make test covhtml
2020 - name : upload coverage report
21- uses : actions/upload-artifact@master
21+ uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
2222 with :
2323 name : reggie-coverage-report-${{ github.sha }}
2424 path : coverage.html
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ You may also construct the client with a number of options related to authentica
2929client , err := reggie.NewClient (" https://r.mysite.io" ,
3030 reggie.WithUsernamePassword (" myuser" , " mypass" ), // registry credentials
3131 reggie.WIthDefaultName (" myorg/myrepo" ), // default repo name
32+ reggie.WithInsecureSkipTLSVerify (true ), // skip TLS verification
3233 reggie.WithDebug (true )) // enable debug logging
3334```
3435
You can’t perform that action at this time.
0 commit comments