From 193b2de8f020843eb977d5073d6ae8bd048ef006 Mon Sep 17 00:00:00 2001 From: Dusan Borovcanin Date: Tue, 3 Dec 2024 14:32:29 +0100 Subject: [PATCH] Use GitHub registry instead of DockerHub Signed-off-by: Dusan Borovcanin --- .github/workflows/build.yml | 6 +++--- Makefile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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