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: