Skip to content

Commit cb412dd

Browse files
committed
feat: store chart in docker image as chart version & docker image tag will be same
Signed-off-by: Siddharth Tiwari <[email protected]>
1 parent 0f4bdda commit cb412dd

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ LABEL org.opencontainers.image.source="https://github.com/opencloudengineer/lamb
44
description="Image for deploying an app using lambda helm chart" \
55
maintainer="Siddharth Tiwari <[email protected]>"
66

7-
COPY auto-deploy /build/bin
7+
COPY chart assets
8+
COPY auto-deploy build/bin

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
The repository can be added using the following command:
44

55
```bash
6-
helm repo add opencloud https://opencloudengineer.github.io/lambda
6+
helm repo add lambda https://opencloudengineer.github.io/lambda
77
```

auto-deploy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ export POSTGRES_VERSION="${POSTGRES_VERSION:-"9.6.16"}"
1111
export POSTGRES_CHART_VERSION=${POSTGRES_CHART_VERSION:-"10.2.1"}
1212
export ROLLOUT_RESOURCE_TYPE=${ROLLOUT_RESOURCE_TYPE:-"deployment"}
1313
export ASSETS_DIR='/assets'
14-
export ASSETS_CHART_DIR="${ASSETS_DIR}/auto-deploy-app"
14+
export CHART='lambda'
15+
export ASSETS_CHART_DIR="${ASSETS_DIR}/${CHART}"
1516

1617
function check_kube_domain() {
1718
if [[ -z "$KUBE_INGRESS_BASE_DOMAIN" ]]; then

0 commit comments

Comments
 (0)