Skip to content

Commit

Permalink
Merge branch 'main' into releases/v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-nicolas committed May 16, 2024
2 parents 3cc6cb9 + f8ee904 commit 1f550ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,13 @@ helm-publish:
BUILD --pass-args ./components/operator+helm-publish

HELM_PUBLISH:
ARG --required path
FUNCTION
WITH DOCKER
RUN --secret GITHUB_TOKEN echo $GITHUB_TOKEN | docker login ghcr.io -u NumaryBot --password-stdin
END
WITH DOCKER
RUN helm push *.tgz oci://ghcr.io/formancehq/helm
RUN helm push ${path} oci://ghcr.io/formancehq/helm
END

INCLUDE_GO_LIBS:
Expand Down
2 changes: 1 addition & 1 deletion components/operator/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ helm-publish:
COPY --pass-args (+helm-update/helm) .
FOR dir IN $(ls -d */)
WORKDIR /src/$dir
DO --pass-args stack+HELM_PUBLISH
DO --pass-args stack+HELM_PUBLISH --path=/src/${dir}*.tgz
END

release:
Expand Down
2 changes: 1 addition & 1 deletion helm/regions/Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ helm-publish:
FROM core+helm-base
WORKDIR /src
COPY (+helm-package/) /src
DO --pass-args stack+HELM_PUBLISH
DO --pass-args stack+HELM_PUBLISH --path=/src/*.tgz

0 comments on commit 1f550ff

Please sign in to comment.