mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-17 06:48:51 +00:00
workflow: Remove code injection in helm login
In theory `github.actor` could be used for code injection, so swap it out. Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -253,7 +253,7 @@ jobs:
|
||||
- name: Login to the OCI registries
|
||||
run: |
|
||||
echo "${{ secrets.QUAY_DEPLOYER_PASSWORD }}" | helm registry login quay.io --username "${{ vars.QUAY_DEPLOYER_USERNAME }}" --password-stdin
|
||||
echo "${{ github.token }}" | helm registry login ghcr.io --username "${{ github.actor }}" --password-stdin
|
||||
echo "${{ github.token }}" | helm registry login ghcr.io --username $ --password-stdin
|
||||
|
||||
- name: Push helm chart to the OCI registries
|
||||
run: |
|
||||
|
Reference in New Issue
Block a user