Skip to content

Commit d58f45e

Browse files
author
Chris Dostert
committed
chore) Re-run bootstrap
1 parent 0dd786a commit d58f45e

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

.opspec/build/op.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ run:
55
- op:
66
ref: test
77
- op:
8-
ref: github.com/opspec-pkgs/_.op.bootstrap#3.0.0
8+
ref: github.com/opspec-pkgs/_.op.bootstrap#4.0.1
99
inputs:
1010
srcDir: $(../..)

.opspec/provision-image/op.yml

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
name: provision-image
22
description: |
3-
Provisions image for the op to [opspecpkgs docker hub org](https://hub.docker.com/u/opspecpkgs) w/ name `opspecpkgs/$(opDotYml.name):${opDotYml.version}`.
3+
Provisions image for the op to [opspec-pkgs image registry](https://github.com/orgs/opspec-pkgs/packages) w/ name `$(opDotYml.name):${opDotYml.version}`.
44
55
> Before first use, a Dockerfile MUST be added to `.opspec/provision-image`
66
inputs:
7-
dockerUsername:
7+
githubUsername:
88
string:
99
constraints: { minLength: 1 }
10-
description: user for logging in to docker hub
11-
dockerPassword:
10+
description: user for logging in to github
11+
githubAccessToken:
1212
string:
1313
constraints: { minLength: 1 }
14-
description: password for logging in to docker hub
14+
description: accessToken for logging in to github
1515
isSecret: true
1616
run:
1717
serial:
@@ -23,21 +23,22 @@ run:
2323
result: $(opDotYml)
2424
- container:
2525
image: { ref: 'alpine:3.6' }
26-
cmd: [sh, -ce, 'echo -n opspecpkgs/${opName#*/*/}:$(opDotYml.version) > /imageName']
26+
cmd: [sh, -ce, 'echo -n ghcr.io/opspec-pkgs/${opName#*/*/}:$(opDotYml.version) > /imageName']
2727
envVars:
2828
opName: $(opDotYml.name)
2929
files:
3030
/imageName: $(imageName)
3131
- op:
3232
ref: github.com/opspec-pkgs/docker.image.build#2.1.0
3333
inputs:
34-
dockerfile: $(/Dockerfile)
34+
dockerfile: $(./Dockerfile)
3535
imageName:
3636
outputs: { imageTar }
3737
- op:
3838
ref: github.com/opspec-pkgs/docker.image.push#2.1.0
3939
inputs:
4040
imageTar:
4141
imageName:
42-
username: $(dockerUsername)
43-
password: $(dockerPassword)
42+
registry: ghcr.io
43+
username: $(githubUsername)
44+
password: $(githubAccessToken)

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://github.com/opspec-pkgs/oauth2.accesstokenresponse.get/workflows/build/badge.svg?branch=master)](https://github.com/opspec-pkgs/oauth2.accesstokenresponse.get/actions?query=workflow%3Abuild+branch%3Amaster)
1+
[![Build Status](https://github.com/opspec-pkgs/oauth2.accesstokenresponse.get/workflows/build/badge.svg?branch=main)](https://github.com/opspec-pkgs/oauth2.accesstokenresponse.get/actions?query=workflow%3Abuild+branch%3Amain)
22

33
<img src="icon.svg" alt="icon" height="100px">
44

@@ -52,4 +52,4 @@ and [tagged](https://git-scm.com/book/en/v2/Git-Basics-Tagging); see
5252
# Contributing
5353
5454
see
55-
[project/CONTRIBUTING.md](https://github.com/opspec-pkgs/project/blob/master/CONTRIBUTING.md)
55+
[project/CONTRIBUTING.md](https://github.com/opspec-pkgs/project/blob/main/CONTRIBUTING.md)

0 commit comments

Comments
 (0)