Update '.gitea/workflows/hello_world.yaml'
All checks were successful
Explore-GitHub-Actions

This commit is contained in:
lobo 2023-03-27 01:49:55 +00:00
parent 60bb58a9ed
commit 22689af592

View File

@ -17,19 +17,20 @@ jobs:
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: docker run --rm -it -v /run/pcscd/pcscd.comm:/run/pcscd/pcscd.comm:ro -v "${{ github.workspace }}":/home/user git.lerch.org/lobo/pkcs11:1 -s --id 3 -m SHA256-RSA-PKCS -i foo -o foo.sig --pin env:PIN
- run: ls /var/run/
- run: echo docker run --rm -it -v /run/pcscd/pcscd.comm:/run/pcscd/pcscd.comm:ro -v "${{ github.workspace }}":/home/user git.lerch.org/lobo/pkcs11:1 -s --id 3 -m SHA256-RSA-PKCS -i foo -o foo.sig --pin env:PIN
- run: echo "🍏 This job's status is ${{ job.status }}."
Sign-Something:
runs-on: ubuntu-latest
needs: Explore-GitHub-Actions
container:
image: git.lerch.org/lobo/pkcs11:1
env:
PIN: ${{ secrets.HSM_USER_PIN }}
volumes:
/run/pcscd/pcscd.comm:/run/pcscd/pcscd.comm
steps:
- run: -s --id 3 -m SHA256-RSA-PKCS --pin env:PIN -i foo -o foo.sig
# Sign-Something:
# runs-on: ubuntu-latest
# needs: Explore-GitHub-Actions
# container:
# image: git.lerch.org/lobo/pkcs11:1
# env:
# PIN: ${{ secrets.HSM_USER_PIN }}
# volumes:
# /run/pcscd/pcscd.comm:/run/pcscd/pcscd.comm
# steps:
# - run: -s --id 3 -m SHA256-RSA-PKCS --pin env:PIN -i foo -o foo.sig
# - name: Success Notification
# if: success()
# run: |