From fd88a6cad51663d6f44b257322910efafbfb720e Mon Sep 17 00:00:00 2001 From: RA341 Date: Thu, 26 Sep 2024 11:55:53 -0400 Subject: [PATCH] fixing ghcr auth --- .github/workflows/beta.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index f849658..d34437f 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -5,6 +5,7 @@ on: push: branches: - master + - ci/cd jobs: build-docker: @@ -26,12 +27,9 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + - name: Login to GHCR registry + run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin + - name: Build and push uses: docker/build-push-action@v6 with: