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

Commit

Permalink
Merge pull request #16 from chainguard-dev/update-image
Browse files Browse the repository at this point in the history
update image name to be ghcr.io/chainguard-dev/admission-sidecar/admission-sidecar
  • Loading branch information
vaikas authored Aug 9, 2022
2 parents 63d733e + a00ba26 commit ef30966
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 ef30966

Please sign in to comment.