1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

fix: cleanup controller image build (#5739)

* fix: cleanup controller image buil

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* image

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2022-12-21 14:44:22 +01:00 committed by GitHub
parent 9d312d740c
commit 7aa1bcb31f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -26,6 +26,9 @@ on:
kyverno_sha256_digest: kyverno_sha256_digest:
description: "sha256 digest of kyverno docker image" description: "sha256 digest of kyverno docker image"
value: ${{ jobs.build.outputs.kyverno-digest }} value: ${{ jobs.build.outputs.kyverno-digest }}
cleanup_controller_sha256_digest:
description: "sha256 digest of cleanup-controller docker image"
value: ${{ jobs.build.outputs.cleanup-controller-digest }}
cli_sha256_digest: cli_sha256_digest:
description: "sha256 digest of kyverno docker image" description: "sha256 digest of kyverno docker image"
value: ${{ jobs.build.outputs.cli-digest }} value: ${{ jobs.build.outputs.cli-digest }}
@ -40,6 +43,7 @@ jobs:
outputs: outputs:
init-container-digest: ${{ steps.set-sha256sum-digest.outputs.init-container-digest }} init-container-digest: ${{ steps.set-sha256sum-digest.outputs.init-container-digest }}
kyverno-digest: ${{ steps.set-sha256sum-digest.outputs.kyverno-digest }} kyverno-digest: ${{ steps.set-sha256sum-digest.outputs.kyverno-digest }}
cleanup-controller-digest: ${{ steps.set-sha256sum-digest.outputs.cleanup-controller-digest }}
cli-digest: ${{ steps.set-sha256sum-digest.outputs.cli-digest }} cli-digest: ${{ steps.set-sha256sum-digest.outputs.cli-digest }}
steps: steps:
- name: Checkout release - name: Checkout release

View file

@ -29,7 +29,7 @@ CLEANUP_IMAGE := cleanup-controller
REPO_KYVERNOPRE := $(REGISTRY)/$(REPO)/$(KYVERNOPRE_IMAGE) REPO_KYVERNOPRE := $(REGISTRY)/$(REPO)/$(KYVERNOPRE_IMAGE)
REPO_KYVERNO := $(REGISTRY)/$(REPO)/$(KYVERNO_IMAGE) REPO_KYVERNO := $(REGISTRY)/$(REPO)/$(KYVERNO_IMAGE)
REPO_CLI := $(REGISTRY)/$(REPO)/$(CLI_IMAGE) REPO_CLI := $(REGISTRY)/$(REPO)/$(CLI_IMAGE)
REPO_CLEANUP := $(REGISTRY)/$(REPO)/$(KYVERNO_CLEANUP) REPO_CLEANUP := $(REGISTRY)/$(REPO)/$(CLEANUP_IMAGE)
USE_CONFIG ?= standard USE_CONFIG ?= standard
######### #########