From 60bb58a9edd4aea85e691ce95b06902d7cc69a0f Mon Sep 17 00:00:00 2001 From: lobo Date: Mon, 27 Mar 2023 01:47:54 +0000 Subject: [PATCH] Update '.gitea/workflows/hello_world.yaml' --- .gitea/workflows/hello_world.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/hello_world.yaml b/.gitea/workflows/hello_world.yaml index 1c2c0ec..4820c53 100644 --- a/.gitea/workflows/hello_world.yaml +++ b/.gitea/workflows/hello_world.yaml @@ -4,6 +4,8 @@ on: [push] jobs: Explore-GitHub-Actions: runs-on: ubuntu-latest + env: + PIN: ${{ secrets.HSM_USER_PIN }} steps: - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" @@ -15,7 +17,7 @@ jobs: - name: List files in the repository run: | ls ${{ github.workspace }} - - run: false + - 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: echo "🍏 This job's status is ${{ job.status }}." Sign-Something: runs-on: ubuntu-latest