From c75830e1246895a3131b0d51fc1f47d8e26bcdb7 Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani <45800463+rchincha@users.noreply.github.com> Date: Sat, 11 Nov 2023 10:29:59 -0800 Subject: [PATCH] ci: point docker registry to local copy (#544) Signed-off-by: Ramkumar Chinchani --- .github/workflows/build.yaml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index be0db266..316bd7de 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-22.04 services: registry: - image: registry:2 + image: ghcr.io/project-stacker/registry:2 ports: - 5000:5000 strategy: diff --git a/Makefile b/Makefile index abb6e982..bdebeb69 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ STACKER_OPTS=--oci-dir=$(BUILD_D)/oci --roots-dir=$(BUILD_D)/roots --stacker-dir build_stacker = go build -tags "$(BUILD_TAGS) $1" -ldflags "-X main.version=$(VERSION_FULL) -X main.lxc_version=$(LXC_VERSION) $2" -o $3 ./cmd/stacker # See doc/hacking.md for how to use a local oci or docker repository. -STACKER_DOCKER_BASE?=docker:// +STACKER_DOCKER_BASE?=docker://ghcr.io/project-stacker/ # They default to their image name in STACKER_DOCKER_BASE STACKER_BUILD_BASE_IMAGE?=$(STACKER_DOCKER_BASE)alpine:edge STACKER_BUILD_CENTOS_IMAGE?=$(STACKER_DOCKER_BASE)centos:latest