Skip to content

Commit a30a0ce

Browse files
committed
making sure proper ecr and tag for DB upgrade
1 parent d237f95 commit a30a0ce

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/dev_branch_deploy_images.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,13 @@ jobs:
7878
DB_ARGS="upgrade"
7979
8080
pushd helmfile
81-
helmfile --environment "$ENVIRONMENT" -l app="$APP_LABEL" --state-values-set DB_ARGS="$DB_ARGS" sync
81+
helmfile --environment "$ENVIRONMENT" -l app="$APP_LABEL" \
82+
--state-values-set DB_ARGS="$DB_ARGS" \
83+
apply -- \
84+
--set image.repository="${REGISTRY}/notify-database" \
85+
--set image.tag="latest"
8286
83-
IMAGE_TAG=$(helm get values "$APP_LABEL" -n "$NAMESPACE" -o json | jq -r '.image.tag')
87+
IMAGE_TAG="latest"
8488
RELEASE_REVISION=$(helm list -n "$NAMESPACE" -o json | jq -r ".[] | select(.name==\"$APP_LABEL\") | .revision")
8589
8690
echo "image_tag=${IMAGE_TAG}" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)