Skip to content

Commit 8a2e214

Browse files
authored
Merge pull request #69 from Peefy/unset-cache-path-env
refactor: unset cache path env
2 parents 52836ca + 11720e1 commit 8a2e214

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ env:
3333
XPKG: xpkg.upbound.io/${{ github.repository}}
3434

3535
# The package version to push. The default is 0.0.0-gitsha.
36-
XPKG_VERSION: v0.5.0
36+
XPKG_VERSION: v0.5.1
3737

3838
jobs:
3939
unit-test:

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ RUN --mount=target=. \
3737
# Produce the Function image. We use a very lightweight 'distroless' image that
3838
# does not include any of the build tools used in previous stages.
3939
FROM kcllang/kcl AS image
40+
# Walkaround for #68: unset the kcl cache path env variable (the value is /tmp) to avoid the data competition.
41+
RUN unset KCL_CACHE_PATH
4042
WORKDIR /
4143
COPY --from=build /function /function
4244
EXPOSE 9443

0 commit comments

Comments
 (0)