From 4ab6e391b5a202fc2663dd373c60c61efd2a7515 Mon Sep 17 00:00:00 2001 From: Rob Adams Date: Mon, 5 Aug 2024 11:34:49 -0500 Subject: [PATCH] ci/cd --- .github/workflows/docker-image.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index db14c71..44567e5 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -14,11 +14,13 @@ jobs: runs-on: ubuntu-latest steps: - - name: Login to Docker Hub + - name: Login to GitHub Container Registry uses: docker/login-action@v3 with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v4 - name: Build the Docker image run: cd beta && ./docker-build.sh test