Skip to content

Commit 9dde8c0

Browse files
committed
Migrate to ghcr.io.
1 parent 9de3708 commit 9dde8c0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/main.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
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 }}
1010

1111
jobs:
1212
build:
@@ -34,7 +34,7 @@ jobs:
3434
- name: Build docker image
3535
run: docker build -t $IMAGE .
3636
- 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}
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040
- name: Push docker image

.github/workflows/manual-to-dev.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
workflow_dispatch:
44

55
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 }}
77

88
jobs:
99
build:
@@ -31,7 +31,7 @@ jobs:
3131
- name: Build docker image
3232
run: docker build -t $IMAGE .
3333
- 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}
3535
env:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3737
- name: Push docker image

0 commit comments

Comments
 (0)