Skip to content

Commit

Permalink
Clean up the code.
Browse files Browse the repository at this point in the history
  • Loading branch information
friedrichwilken committed Dec 12, 2023
1 parent 1fdc676 commit 702335c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
inputs:
name:
description: "Release name"
description: "Release name, eg '1.0.1'"
default: ""
required: true

Expand Down
4 changes: 2 additions & 2 deletions scripts/check_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

# This script will check if the tag for the nats-manager image is the one we define as the semantinc release version.

EXPECTED_TAG="${1:-"0.0.0"}"
EXPECTED_TAG=${1:-latest}

IMAGE_TO_CHECK="${2:-europe-docker.pkg.dev/kyma-project/prod/nats-manager}"
IMAGE_TO_CHECK=${2:-europe-docker.pkg.dev/kyma-project/prod/nats-manager}
BUMPED_IMAGE_TAG=$(cat sec-scanners-config.yaml | grep "${IMAGE_TO_CHECK}" | cut -d : -f 2)

if [[ "$BUMPED_IMAGE_TAG" != "$EXPECTED_TAG" ]]; then
Expand Down

0 comments on commit 702335c

Please sign in to comment.