Skip to content

Commit

Permalink
Upping kaniko image.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihxil committed Nov 17, 2024
1 parent e57c7b6 commit 752b983
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/s
ENV KANIKO_SCRIPTS=/
ENV HELM_SCRIPTS=/

COPY --from=ghcr.io/npo-poms/kaniko:5 /dockerfile-functions.sh $KANIKO_SCRIPTS
COPY --from=ghcr.io/npo-poms/kaniko:main /dockerfile-functions.sh $KANIKO_SCRIPTS
COPY scripts/* $HELM_SCRIPTS


Expand All @@ -39,7 +39,8 @@ RUN chmod +x /script.sh && \

WORKDIR /workspace

ENTRYPOINT ["/script.sh" ]
ENTRYPOINT ["/bin/sh", "-c"]
CMD ["sh"]

SHELL ["/bin/bash", "-c"]

Expand Down
4 changes: 2 additions & 2 deletions scripts/helm-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,15 @@ function deploy_applications() {
fi
if [ -z "$DEPLOY_APPLICATIONS" ]; then
echo "Deploy the root directory only"
get_artifact_versions . $PROJECT_VERSION
get_docker_image_name . $PROJECT_VERSION
deploy_application .
else
pwd
ls
for app_dir in $(echo $DEPLOY_APPLICATIONS | sed "s/,/ /g")
do
echo deploy application in $app_dir
get_artifact_versions $app_dir $PROJECT_VERSION
get_docker_image_name $app_dir $PROJECT_VERSION
deploy_application $app_dir
done
fi
Expand Down

0 comments on commit 752b983

Please sign in to comment.