Skip to content

Commit

Permalink
fix impler image taggings package release issue (#651)
Browse files Browse the repository at this point in the history
  • Loading branch information
chavda-bhavik committed Jul 8, 2024
2 parents d1bbe10 + 1a8fb27 commit dd42d73
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-prod-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: |
npm config set --workspaces=false --include-workspace-root registry https://registry.npmjs.org/
npm config set --workspaces=false --include-workspace-root //registry.npmjs.org/:_authToken=$NPM_TOKEN
npm publish --access public
NPM_TOKEN=$NPMTOKEN npm publish --access public
- name: Publish @impler/react package on NPM 📦
env:
Expand All @@ -57,4 +57,4 @@ jobs:
run: |
npm config set --workspaces=false --include-workspace-root registry https://registry.npmjs.org/
npm config set --workspaces=false --include-workspace-root //registry.npmjs.org/:_authToken=$NPM_TOKEN
npm publish --access public
NPM_TOKEN=$NPMTOKEN npm publish --access public
20 changes: 10 additions & 10 deletions .github/workflows/tag-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
DOCKER_NAME: impler/api
DOCKER_VERSION: ${{ env.DOCKER_VERSION }}
run: |
docker pull ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod
docker tag ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION
docker pull ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:latest
docker tag ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:latest ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION
docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION
echo "::set-output name=IMAGE::ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION"
Expand All @@ -48,8 +48,8 @@ jobs:
DOCKER_NAME: impler/queue-manager
DOCKER_VERSION: ${{ env.DOCKER_VERSION }}
run: |
docker pull ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod
docker tag ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION
docker pull ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:latest
docker tag ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:latest ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION
docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION
echo "::set-output name=IMAGE::ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION"
Expand All @@ -59,8 +59,8 @@ jobs:
DOCKER_NAME: impler/embed
DOCKER_VERSION: ${{ env.DOCKER_VERSION }}
run: |
docker pull ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod
docker tag ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION
docker pull ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:latest
docker tag ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:latest ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION
docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION
echo "::set-output name=IMAGE::ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION"
Expand All @@ -70,8 +70,8 @@ jobs:
DOCKER_NAME: impler/widget
DOCKER_VERSION: ${{ env.DOCKER_VERSION }}
run: |
docker pull ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod
docker tag ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION
docker pull ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:latest
docker tag ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:latest ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION
docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION
echo "::set-output name=IMAGE::ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION"
Expand All @@ -81,7 +81,7 @@ jobs:
DOCKER_NAME: impler/web
DOCKER_VERSION: ${{ env.DOCKER_VERSION }}
run: |
docker pull ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod
docker tag ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:prod ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION
docker pull ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:latest
docker tag ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:latest ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION
docker push ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION
echo "::set-output name=IMAGE::ghcr.io/$REGISTERY_OWNER/$DOCKER_NAME:$DOCKER_VERSION"

0 comments on commit dd42d73

Please sign in to comment.