Migrate to ghcr.io

This commit is contained in:
messense 2021-03-31 14:47:13 +08:00
parent 20cb92d202
commit 228c280607

View file

@ -18,10 +18,10 @@ jobs:
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Packages Docker Registry
- 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 }}
@ -31,4 +31,4 @@ jobs:
file: alpine.Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: docker.pkg.github.com/${{ github.repository }}/nodejs-rust:lts-alpine
tags: ghcr.io/${{ github.repository }}/nodejs-rust:lts-alpine