diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e67e30a9c..404359735 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,9 +45,9 @@ jobs: - name: Login to DockerHub uses: docker/login-action@v3 with: - registry: docker.io - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_TOKEN }} + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Compile check for rabbitmq run: | diff --git a/Makefile b/Makefile index 3819259b0..21ea1ee22 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Copyright (c) Abstract Machines # SPDX-License-Identifier: Apache-2.0 -MG_DOCKER_IMAGE_NAME_PREFIX ?= magistrala +MG_DOCKER_IMAGE_NAME_PREFIX ?= ghcr.io/absmach/magistrala BUILD_DIR = build SERVICES = auth users things http coap ws postgres-writer postgres-reader timescale-writer \ timescale-reader cli bootstrap mqtt provision certs invitations journal