Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Commit

Permalink
update image name to be ghcr.io/chainguard-dev/admission-sidecar/admi…
Browse files Browse the repository at this point in the history
…ssion-sidecar

Signed-off-by: Carlos Panato <[email protected]>
  • Loading branch information
cpanato committed Aug 9, 2022
1 parent 63d733e commit a00ba26
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .ko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defaultBaseImage: ghcr.io/distroless/static:latest
builds:
- id: admission-sidecar
dir: .
main: ./cmd
main: ./cmd/admission-sidecar
env:
- CGO_ENABLED=0
flags:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
GIT_TAG ?= $(shell git describe --tags --always --dirty)
GIT_HASH ?= $(shell git rev-parse HEAD)
LDFLAGS=""
LDFLAGS=

KO_DOCKER_REPO ?= ghcr.io/chainguard-dev/admission-sidecar

.PHONY: ko-resolve
ko-resolve:
LDFLAGS="$(LDFLAGS)" \
LDFLAGS="$(LDFLAGS)" KO_DOCKER_REPO=$(KO_DOCKER_REPO) \
ko resolve --tags $(GIT_TAG),latest --base-import-paths --recursive \
--filename ./config --platform=all \
--image-refs imagerefs > release-$(GIT_TAG).yaml
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion config/proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
serviceAccountName: chainguard-proxy
containers:
- name: controller
image: ko://github.com/chainguard-dev/admission-sidecar/cmd/
image: ko://github.com/chainguard-dev/admission-sidecar/cmd/admission-sidecar
resources:
requests:
cpu: 50m
Expand Down

0 comments on commit a00ba26

Please sign in to comment.