From b4369be7747680d922781f1f3874e70bd2970655 Mon Sep 17 00:00:00 2001 From: Rodney Osodo Date: Thu, 17 Oct 2024 20:59:42 +0300 Subject: [PATCH] fix(docker): change docker image name Signed-off-by: Rodney Osodo --- .github/workflows/cd.yaml | 6 +----- Makefile | 2 +- compose.yaml | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 65c86b6..ccd2167 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -12,10 +12,6 @@ on: workflow_dispatch: -env: - REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }} - jobs: build-and-push-image: runs-on: ubuntu-latest @@ -38,7 +34,7 @@ jobs: - name: Log in to the Container registry uses: docker/login-action@v3 with: - registry: ${{ env.REGISTRY }} + registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} diff --git a/Makefile b/Makefile index 83305b5..c505c76 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ GOARM ?= $(shell go env GOARM) BUILD_DIR ?= ./build SVC = gophercon -DOCKER_IMAGE_NAME ?= ghcr.io/rodneyosodo/gophercon +DOCKER_IMAGE_NAME ?= ghcr.io/rodneyosodo/gophercon-africa-2024 VERSION ?= $(shell git describe --abbrev=0 --tags 2>/dev/null || echo 'v0.0.0') define compile_service diff --git a/compose.yaml b/compose.yaml index 00efea1..8e6bc62 100644 --- a/compose.yaml +++ b/compose.yaml @@ -9,7 +9,7 @@ volumes: services: gophercon: - image: ghcr.io/rodneyosodo/gophercon:latest + image: ghcr.io/rodneyosodo/gophercon-africa-2024:latest container_name: gophercon restart: unless-stopped ports: