Skip to content

Commit

Permalink
update readme (#82)
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Jun 20, 2022
1 parent 7e0881f commit 6679bb8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Expand Up @@ -128,18 +128,17 @@ jobs:

- name: Sign image with a key
run: |
echo ${COSIGN_KEY} > /tmp/my_cosign.key && \
cosign sign --key /tmp/my_cosign.key ${TAGS}
cosign sign --key env://COSIGN_PRIVATE_KEY ${TAGS}
env:
TAGS: ${{ steps.docker_meta.outputs.tags }}
COSIGN_KEY: ${{secrets.COSIGN_KEY}}
COSIGN_PRIVATE_KEY: ${{secrets.COSIGN_PRIVATE_KEY}}
COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}}

- name: Sign the images with GitHub OIDC Token **not production ready**
run: cosign sign ${TAGS}
env:
TAGS: ${{ steps.docker_meta.outputs.tags }}
COSIGN_EXPERIMENTAL: 1
COSIGN_EXPERIMENTAL: true
```

### Optional Inputs
Expand Down

0 comments on commit 6679bb8

Please sign in to comment.