Skip to content

Commit 3e7e283

Browse files
committed
Remove notary and use role name
1 parent 917e8b5 commit 3e7e283

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/publish.yml

+3-11
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,12 @@ jobs:
3434
PLATFORM: "linux/amd64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6"
3535
ACTION: push
3636

37-
- uses: actions/setup-go@v4
38-
with:
39-
go-version: "^1.17"
40-
- name: "Install module"
41-
run: |
42-
export GO111MODULE=on
43-
go install -tags pkcs11 github.com/theupdateframework/notary/cmd/notary@latest
44-
notary --help
45-
- name: Sign and push the manifest
37+
- name: Sign the manifest
4638
uses: sudo-bot/action-docker-sign@latest
4739
with:
4840
image-ref: "docker.io/botsudo/action-doctum:latest"
49-
# Please use the repository key for the manifest or pull will not work
50-
private-key-id: "${{ secrets.DOCKER_PRIVATE_KEY_ID }}"
41+
private-key-id: "${{ vars.DOCKER_PRIVATE_KEY_ID }}"
42+
private-key-name: "${{ vars.DOCKER_PRIVATE_KEY_NAME }}"
5143
private-key: ${{ secrets.DOCKER_PRIVATE_KEY }}
5244
private-key-passphrase: ${{ secrets.DOCKER_PRIVATE_KEY_PASSPHRASE }}
5345
sign-manifest: true

0 commit comments

Comments
 (0)