File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6
6
- main
7
7
8
8
env :
9
- IMAGE : docker.pkg.github.com /${{ github.repository }}/kabal-smart-editor-api:${{ github.sha }}
9
+ IMAGE : ghcr.io /${{ github.repository }}/kabal-smart-editor-api:${{ github.sha }}
10
10
11
11
jobs :
12
12
build :
34
34
- name : Build docker image
35
35
run : docker build -t $IMAGE .
36
36
- name : Login to Github package registry
37
- run : docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY} -p ${GITHUB_TOKEN}
37
+ run : docker login ghcr.io -u ${GITHUB_REPOSITORY} -p ${GITHUB_TOKEN}
38
38
env :
39
39
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40
40
- name : Push docker image
Original file line number Diff line number Diff line change 3
3
workflow_dispatch :
4
4
5
5
env :
6
- IMAGE : docker.pkg.github.com /${{ github.repository }}/kabal-smart-editor-api:${{ github.sha }}
6
+ IMAGE : ghcr.io /${{ github.repository }}/kabal-smart-editor-api:${{ github.sha }}
7
7
8
8
jobs :
9
9
build :
31
31
- name : Build docker image
32
32
run : docker build -t $IMAGE .
33
33
- name : Login to Github package registry
34
- run : docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY} -p ${GITHUB_TOKEN}
34
+ run : docker login ghcr.io -u ${GITHUB_REPOSITORY} -p ${GITHUB_TOKEN}
35
35
env :
36
36
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
37
37
- name : Push docker image
You can’t perform that action at this time.
0 commit comments