diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2834fd2..ed51eca 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,12 +21,11 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 - - name: Login to Docker.io + - name: Login to GHCR.io uses: docker/login-action@v2 with: - registry: docker.io - username: ${{ secrets.DOCKER_IO_USERNAME }} - password: ${{ secrets.DOCKER_IO_TOKEN }} + registry: ghcr.io + password: ${{ secrets.GH_TOKEN }} - name: Build and push my toolbox image uses: docker/build-push-action@v3 @@ -36,4 +35,4 @@ jobs: platforms: linux/amd64 push: true no-cache: true - tags: docker.io/${{ github.repository }}:latest + tags: ghcr.io/${{ github.repository }}:latest