From ba8c18ceaf7ef20613efd3750054f0b75871e945 Mon Sep 17 00:00:00 2001 From: Emile Nijssen Date: Sun, 17 Dec 2023 22:19:52 +0100 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0f2fe55..871ff0c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,11 +22,12 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - - name: Login to DockerHub - uses: docker/login-action@v1 + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} # Set environment variables - run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV