Skip to content

Commit

Permalink
script that tries to access docker managed secrets from actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nachog00 committed Oct 18, 2024
1 parent b02687c commit 34f32ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ jobs:
run: |
echo Add other actions to build,
echo test, and deploy your project.
- name: Try accessing PAT
run: ./test.sh
4 changes: 4 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

TOKEN=$(cat /run/secrets/GH_TOKEN)
echo $TOKEN

0 comments on commit 34f32ad

Please sign in to comment.