Skip to content

Commit

Permalink
chore: change docker.pkg.github.com to ghcr.io (#973)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Jan 4, 2022
1 parent 8bd7b70 commit c9c3650
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: docker.pkg.github.com
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -62,7 +62,7 @@ jobs:
VERSION=${{ steps.get_version.outputs.VERSION }}
tags: |
dragonflyoss/scheduler:${{ steps.get_version.outputs.VERSION }}
docker.pkg.github.com/${{ env.IMAGE_REPOSITORY }}/scheduler:${{ steps.get_version.outputs.VERSION }}
ghcr.io/${{ env.IMAGE_REPOSITORY }}/scheduler:${{ steps.get_version.outputs.VERSION }}
push: true

push_dfdaemon_to_registry:
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: docker.pkg.github.com
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -121,7 +121,7 @@ jobs:
VERSION=${{ steps.get_version.outputs.VERSION }}
tags: |
dragonflyoss/dfdaemon:${{ steps.get_version.outputs.VERSION }}
docker.pkg.github.com/${{ env.IMAGE_REPOSITORY }}/dfdaemon:${{ steps.get_version.outputs.VERSION }}
ghcr.io/${{ env.IMAGE_REPOSITORY }}/dfdaemon:${{ steps.get_version.outputs.VERSION }}
push: true

push_cdn_to_registry:
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: docker.pkg.github.com
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -180,7 +180,7 @@ jobs:
VERSION=${{ steps.get_version.outputs.VERSION }}
tags: |
dragonflyoss/cdn:${{ steps.get_version.outputs.VERSION }}
docker.pkg.github.com/${{ env.IMAGE_REPOSITORY }}/cdn:${{ steps.get_version.outputs.VERSION }}
ghcr.io/${{ env.IMAGE_REPOSITORY }}/cdn:${{ steps.get_version.outputs.VERSION }}
push: true

push_manager_to_registry:
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: docker.pkg.github.com
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -239,5 +239,5 @@ jobs:
VERSION=${{ steps.get_version.outputs.VERSION }}
tags: |
dragonflyoss/manager:${{ steps.get_version.outputs.VERSION }}
docker.pkg.github.com/${{ env.IMAGE_REPOSITORY }}/manager:${{ steps.get_version.outputs.VERSION }}
ghcr.io/${{ env.IMAGE_REPOSITORY }}/manager:${{ steps.get_version.outputs.VERSION }}
push: true

0 comments on commit c9c3650

Please sign in to comment.