Skip to content

Commit 7eaffd6

Browse files
committed
actions, readme updates
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
1 parent cf33298 commit 7eaffd6

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/build-pr.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ name: build-pr
33
on:
44
pull_request:
55
branches:
6-
- master
6+
- main
77

88
jobs:
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

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@ name: build
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77

88
jobs:
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

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ You may also construct the client with a number of options related to authentica
2929
client, 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

0 commit comments

Comments
 (0)