Skip to content

Commit

Permalink
fix publish pipeline issues (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
chavda-bhavik authored Jul 8, 2024
2 parents 95366ad + 7cb9456 commit e930209
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
env:
REGISTERY_OWNER: implerhq
DOCKER_NAME: impler/api
IMAGE_TAG: ${{ github.sha }}
IMAGE_TAG: ${{ github.event.pull_request.head.sha || github.sha }}
GH_ACTOR: implerhq
GH_PASSWORD: ${{ secrets.GH_PACKAGES }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-embed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
env:
REGISTERY_OWNER: implerhq
DOCKER_NAME: impler/embed
IMAGE_TAG: ${{ github.sha }}
IMAGE_TAG: ${{ github.event.pull_request.head.sha || github.sha }}
GH_ACTOR: implerhq
GH_PASSWORD: ${{ secrets.GH_PACKAGES }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-queuemanager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
env:
REGISTERY_OWNER: implerhq
DOCKER_NAME: impler/queue-manager
IMAGE_TAG: ${{ github.sha }}
IMAGE_TAG: ${{ github.event.pull_request.head.sha || github.sha }}
GH_ACTOR: implerhq
GH_PASSWORD: ${{ secrets.GH_PACKAGES }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
env:
REGISTERY_OWNER: implerhq
DOCKER_NAME: impler/web
IMAGE_TAG: ${{ github.sha }}
IMAGE_TAG: ${{ github.event.pull_request.head.sha || github.sha }}
GH_ACTOR: implerhq
GH_PASSWORD: ${{ secrets.GH_PACKAGES }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-widget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
env:
REGISTERY_OWNER: implerhq
DOCKER_NAME: impler/widget
IMAGE_TAG: ${{ github.sha }}
IMAGE_TAG: ${{ github.event.pull_request.head.sha || github.sha }}
GH_ACTOR: implerhq
GH_PASSWORD: ${{ secrets.GH_PACKAGES }}
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish-prod-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
working-directory: libs/shared
run: |
npm config set registry https://registry.npmjs.org/
npm config set --workspaces=false --include-workspace-root //registry.npmjs.org/:_authToken=$NPM_TOKEN
npm publish --access public
Expand All @@ -54,5 +55,6 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
working-directory: packages/react
run: |
npm config set registry https://registry.npmjs.org/
npm config set --workspaces=false --include-workspace-root //registry.npmjs.org/:_authToken=$NPM_TOKEN
npm publish --access public

0 comments on commit e930209

Please sign in to comment.