File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,18 +13,23 @@ jobs:
1313 - name : Checkout code
1414 uses : actions/checkout@v4
1515
16- - name : Login to DockerHub
17- run : echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
16+ - name : Login to GitHub Container Registry
17+ uses : docker/login-action@v3
18+ with :
19+ registry : ghcr.io
20+ username : ${{ github.actor }}
21+ password : ${{ secrets.ORG_PAT }}
1822
1923 - name : Extract Docker image metadata
2024 id : meta
2125 uses : docker/metadata-action@v5
2226 with :
23- images : dungbik/flipnote-user
27+ images : ghcr.io/dungbik/flipnote-user
28+
2429 - name : Build and push Docker image
2530 uses : docker/build-push-action@v6
2631 with :
2732 context : .
2833 push : true
2934 tags : ${{ steps.meta.outputs.tags }}
30- labels : ${{ steps.meta.outputs.labels }}
35+ labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments