diff --git a/.github/workflows/build_and_push.yml b/.github/workflows/build_and_push.yml index 98139e4..885f096 100644 --- a/.github/workflows/build_and_push.yml +++ b/.github/workflows/build_and_push.yml @@ -1,4 +1,4 @@ -name: Build and Push to Docker Hub +name: Build and Push to GHCR on: push: @@ -7,7 +7,7 @@ on: - v** jobs: - # Build and push containers to Docker Hub + # Build and push containers to GitHub Container Registry docker: runs-on: ubuntu-latest @@ -18,16 +18,17 @@ jobs: uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - 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 }} - name: Docker meta id: meta uses: docker/metadata-action@v5 with: - images: dgarciabriseno/hv-coordinator + images: ghcr.io/helioviewer-project/coordinator # generate Docker tags based on the tagged release tags: type=semver,pattern={{version}} - name: Build and push Docker images diff --git a/README.md b/README.md index 1ed2390..ff51ea8 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ API is meant to run in parallel with Helioviewer. ## Usage Running with docker: ``` -docker run --rm -t dgarciabriseno/hv-coordinator +docker run --rm -t ghcr.io/helioviewer-project/coordinator ``` Running manually with python