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 - name: List files in the repository
run: | run: |
ls ${{ github.workspace }} 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 }}." - run: echo "🍏 This job's status is ${{ job.status }}."
Sign-Something: # Sign-Something:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
needs: Explore-GitHub-Actions # needs: Explore-GitHub-Actions
container: # container:
image: git.lerch.org/lobo/pkcs11:1 # image: git.lerch.org/lobo/pkcs11:1
env: # env:
PIN: ${{ secrets.HSM_USER_PIN }} # PIN: ${{ secrets.HSM_USER_PIN }}
volumes: # volumes:
/run/pcscd/pcscd.comm:/run/pcscd/pcscd.comm # /run/pcscd/pcscd.comm:/run/pcscd/pcscd.comm
steps: # steps:
- run: -s --id 3 -m SHA256-RSA-PKCS --pin env:PIN -i foo -o foo.sig # - run: -s --id 3 -m SHA256-RSA-PKCS --pin env:PIN -i foo -o foo.sig
# - name: Success Notification # - name: Success Notification
# if: success() # if: success()
# run: | # run: |