From 3e7e283a4f1f2c52ffb189f7c2f13407205cfdb1 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Mon, 1 Jan 2024 18:00:15 +0100 Subject: [PATCH] Remove notary and use role name --- .github/workflows/publish.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c3afefa..8d3983c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,20 +34,12 @@ jobs: PLATFORM: "linux/amd64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6" ACTION: push - - uses: actions/setup-go@v4 - with: - go-version: "^1.17" - - name: "Install module" - run: | - export GO111MODULE=on - go install -tags pkcs11 github.com/theupdateframework/notary/cmd/notary@latest - notary --help - - name: Sign and push the manifest + - name: Sign the manifest uses: sudo-bot/action-docker-sign@latest with: image-ref: "docker.io/botsudo/action-doctum:latest" - # Please use the repository key for the manifest or pull will not work - private-key-id: "${{ secrets.DOCKER_PRIVATE_KEY_ID }}" + private-key-id: "${{ vars.DOCKER_PRIVATE_KEY_ID }}" + private-key-name: "${{ vars.DOCKER_PRIVATE_KEY_NAME }}" private-key: ${{ secrets.DOCKER_PRIVATE_KEY }} private-key-passphrase: ${{ secrets.DOCKER_PRIVATE_KEY_PASSPHRASE }} sign-manifest: true