Skip to content

Commit 2d11ec1

Browse files
authored
Always use digests when making a release (#1082) (#1086)
Signed-off-by: Filip Brychta <fbrychta@redhat.com>
1 parent 6d26a32 commit 2d11ec1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ run-name: ${{ inputs.run_name }}
2222
env:
2323
GIT_USER: ${{ secrets.GIT_USER }}
2424
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
25+
USE_IMAGE_DIGESTS: true
2526

2627
jobs:
2728
release:

Makefile.core.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ BUNDLE_GEN_FLAGS ?= -q --overwrite --version $(VERSION) $(BUNDLE_METADATA_OPTS)
151151
# It also adds .spec.relatedImages field to generated CSV
152152
# Note that 'operator-sdk generate bundle' always removes spec.relatedImages field when USE_IMAGE_DIGESTS=false, even if the field already exists in the base CSV
153153
# Make sure to enable this before creating a release as it's a requirement for disconnected environments.
154+
# Currently we keep this disabled for local development and only enable this in the release GH action.
154155
USE_IMAGE_DIGESTS ?= false
155156
ifeq ($(USE_IMAGE_DIGESTS), true)
156157
BUNDLE_GEN_FLAGS += --use-image-digests

0 commit comments

Comments
 (0)