diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 10a7f0d..af74fcf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,11 +28,12 @@ jobs: - name: Available platforms run: echo ${{ steps.buildx.outputs.platforms }} - - name: Login to DockerHub - uses: docker/login-action@v1 + - name: Log in to the GitHub Container registry + uses: docker/login-action@v2 with: - username: 1gtm - password: ${{ secrets.DOCKERHUB_TOKEN }} + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build elasticsearch-init run: |