chore(actions): pushing internalized to script.

Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
This commit is contained in:
Rajesh Rajendran 2021-05-16 21:08:08 +05:30
parent bd7e32cbad
commit 5d1b80f4e0

View file

@ -39,10 +39,7 @@ jobs:
ENVIRONMENT: staging
run: |
cd api
bash build.sh
[[ -z "${DOCKER_REPO}" ]] || {
docker push ${DOCKER_REPO}/chalice:"${IMAGE_TAG}"
}
PUSH_IMAGE=1 bash build.sh
- name: Deploy to kubernetes
run: |
cd scripts/helm/