File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77jobs :
88 build :
99 runs-on : ubuntu-latest
10+ permissions :
11+ contents : read
12+ packages : write
1013 steps :
1114 - uses : actions/checkout@v4
1215
@@ -16,12 +19,13 @@ jobs:
1619
1720 - uses : docker/login-action@v3
1821 with :
19- username : ${{ secrets.DOCKERHUB_USERNAME }}
20- password : ${{ secrets.DOCKERHUB_TOKEN }}
22+ registry : ghcr.io
23+ username : ${{ github.actor }}
24+ password : ${{ secrets.GITHUB_TOKEN }}
2125
2226 - uses : docker/build-push-action@v6
2327 with :
2428 context : .
2529 platforms : linux/amd64,linux/arm64
2630 push : true
27- tags : codepier/node-getting-started:latest
31+ tags : ghcr.io/ codepier/node-getting-started:latest
Original file line number Diff line number Diff line change 1515 spec :
1616 containers :
1717 - name : hello-world
18- image : codepier/node-getting-started:latest
18+ image : ghcr.io/ codepier/node-getting-started:latest
1919 ports :
2020 - containerPort : 3000
You can’t perform that action at this time.
0 commit comments