Skip to content

Commit

Permalink
passing github actions token and url as environment variables (#246)
Browse files Browse the repository at this point in the history
* passing github actions token and url as environment variables

* Update src/docker.ts

* dist update

* dist update

---------

Co-authored-by: maxcask <bondarcask@gmail.com>
Co-authored-by: Googlom <36107508+Googlom@users.noreply.github.com>
Co-authored-by: Gulom Alimov <gulomjon.alimov@sap.com>
  • Loading branch information
4 people authored Feb 14, 2025
1 parent 3726c34 commit 2324e6d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion src/docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,11 @@ export function getSystemTrustToken (): string[] {
'PIPER_systemTrustToken',
// PIPER_trustEngineToken is still created for compatibility with jenkins-library version from v1.383.0 to 1.414.0. Remove it in ~June 2025
'--env',
'PIPER_trustEngineToken'
'PIPER_trustEngineToken',
'--env',
'PIPER_ACTIONS_ID_TOKEN_REQUEST_TOKEN',
'--env',
'PIPER_ACTIONS_ID_TOKEN_REQUEST_URL'
]
}

Expand Down

0 comments on commit 2324e6d

Please sign in to comment.