@@ -47,10 +47,10 @@ jobs:
4747 - name : Replace values
4848 shell : bash
4949 env :
50- PAT : ${{ secrets.PAT }}
50+ PAT : ${{ secrets.GITHUB_TOKEN }}
5151 run : |
52- sed -i.back "s|PAT|${PAT }|g" .npmrc
53- - run : npm config set @datasance :registry https://npm.pkg.github.com/
52+ sed -i.back "s|PAT|${GITHUB_TOKEN }|g" .npmrc
53+ - run : npm config set @eclipse-iofog :registry https://npm.pkg.github.com/
5454 - run : npm install --build-from-source --force
5555 - run : npm run standard
5656 - run : |
@@ -83,10 +83,10 @@ jobs:
8383 - name : Replace values
8484 shell : bash
8585 env :
86- PAT : ${{ secrets.PAT }}
86+ PAT : ${{ secrets.GITHUB_TOKEN }}
8787 run : |
8888 sed -i.back "s|PAT|${PAT}|g" .npmrc
89- - run : npm config set @datasance :registry https://npm.pkg.github.com/
89+ - run : npm config set @eclipse-iofog :registry https://npm.pkg.github.com/
9090 - run : npm install --build-from-source --force
9191
9292 - name : npm version
@@ -138,7 +138,7 @@ jobs:
138138 with :
139139 registry : " ghcr.io"
140140 username : ${{ github.actor }}
141- password : ${{ secrets.PAT }}
141+ password : ${{ secrets.GITHUB_TOKEN }}
142142
143143 - name : Build and Push to ghcr
144144 uses : docker/build-push-action@v3
@@ -149,8 +149,7 @@ jobs:
149149 platforms : linux/amd64, linux/arm64
150150 push : true
151151 outputs : type=image,name=target,annotation-index.org.opencontainers.image.description=Controller
152- build-args : GITHUB_TOKEN=${{ secrets.PAT }}
153152 tags : |
154- ghcr.io/datasance /${{ env.IMAGE_NAME }}:${{ steps.tags.outputs.VERSION }}
155- ghcr.io/datasance /${{ env.IMAGE_NAME }}:latest
156- ghcr.io/datasance /${{ env.IMAGE_NAME }}:main
153+ ghcr.io/eclipse-iofog /${{ env.IMAGE_NAME }}:${{ steps.tags.outputs.VERSION }}
154+ ghcr.io/eclipse-iofog /${{ env.IMAGE_NAME }}:latest
155+ ghcr.io/eclipse-iofog /${{ env.IMAGE_NAME }}:main
0 commit comments