File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -81,11 +81,15 @@ jobs:
8181 working-directory : ${{ matrix.dir }}-downloaded-artifacts
8282
8383 - name : Build Docker images
84- run : docker build -t ghcr.io/JavatoDev-com /${{ matrix.dir }} .
84+ run : docker build -t ghcr.io/javatodev /${{ matrix.dir }} .
8585 working-directory : ${{ matrix.dir }}-downloaded-artifacts
8686
87- - name : Log in to GitHub Container Registry
88- run : echo ${{ secrets.DOCKER_ACTION_TOKEN }} | docker login ghcr.io -u chinthaka-dinadasa --password-stdin
87+ - name : Login to GitHub Container Registry
88+ uses : docker/login-action@v3
89+ with :
90+ registry : ghcr.io
91+ username : ${{ github.actor }}
92+ password : ${{ secrets.DOCKER_ACTION_TOKEN }}
8993
9094 - name : Push Docker image to GitHub Container Registry
91- run : docker push ghcr.io/JavatoDev-com /${{ matrix.dir }}
95+ run : docker push ghcr.io/javatodev /${{ matrix.dir }}
You can’t perform that action at this time.
0 commit comments