File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : CD
2+ run-name : ${{ github.event.workflow_run.head_commit.message }}
23
34on :
45 workflow_run :
@@ -17,18 +18,23 @@ jobs:
1718 - name : Checkout code
1819 uses : actions/checkout@v4
1920
20- - name : Login to DockerHub
21- run : echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
21+ - name : Login to GitHub Container Registry
22+ uses : docker/login-action@v3
23+ with :
24+ registry : ghcr.io
25+ username : ${{ github.actor }}
26+ password : ${{ secrets.ORG_PAT }}
2227
2328 - name : Extract Docker image metadata
2429 id : meta
2530 uses : docker/metadata-action@v5
2631 with :
27- images : dungbik/flipnote-reaction
32+ images : ghcr.io/dungbik/flipnote-reaction
33+
2834 - name : Build and push Docker image
2935 uses : docker/build-push-action@v6
3036 with :
3137 context : .
3238 push : true
3339 tags : ${{ steps.meta.outputs.tags }}
34- labels : ${{ steps.meta.outputs.labels }}
40+ labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments