Skip to content

Commit

Permalink
fix(action): Start container and pass ID to podman exec
Browse files Browse the repository at this point in the history
  • Loading branch information
EyeCantCU committed Dec 31, 2023
1 parent 6cf53cd commit cc9272e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ runs:
- name: Sign kernel
shell: bash
run: |
podman exec -e PRIVKEY=${{ inputs.privkey }} -e PUBKEY=${{ inputs.pubkey }} -w $PWD --privileged ${{ inputs.image }} ./sign-kernel.sh
CONTAINER_ID=$(podman run -d ${{ inputs.image }})
podman exec -e PRIVKEY=${{ inputs.privkey }} -e PUBKEY=${{ inputs.pubkey }} -w $PWD $CONTAINER_ID ./sign-kernel.sh

0 comments on commit cc9272e

Please sign in to comment.