Skip to content

Commit

Permalink
fix(release.yml): fix name of npm token for github npm registry (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
reevejd authored Feb 7, 2024
1 parent 29316eb commit b927eda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ on:
required: false
ICR_PASSWORD:
required: false
NPM_TOKEN:
GHEC_NPM_REGISTRY_TOKEN:
required: false
TRAVIS_API_TOKEN:
required: false
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
"IBM_CLOUD_API_KEY=${{ secrets.IBM_CLOUD_API_KEY }}"
${{ inputs.docker_secrets }}
build-args: |-
SN_GITHUB_NPM_TOKEN=${{ secrets.NPM_TOKEN }}
SN_GITHUB_NPM_TOKEN=${{ secrets.GHEC_NPM_REGISTRY_TOKEN }}
SN_GITHUB_NPM_REGISTRY=https://npm.pkg.github.com
- name: Scan image
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
"IBM_CLOUD_API_KEY=${{ secrets.IBM_CLOUD_API_KEY }}"
${{ inputs.docker_secrets }}
build-args: |-
SN_GITHUB_NPM_TOKEN=${{ secrets.NPM_TOKEN }}
SN_GITHUB_NPM_TOKEN=${{ secrets.GHEC_NPM_REGISTRY_TOKEN }}
SN_GITHUB_NPM_REGISTRY=https://npm.pkg.github.com
if: env.IMAGE_EXISTS == 'false'

Expand Down

0 comments on commit b927eda

Please sign in to comment.