diff options
| author | Fuwn <[email protected]> | 2023-12-13 12:01:22 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-13 12:01:22 -0800 |
| commit | 880188fe003eb4cf8bcc23c08bed630539c1f5c6 (patch) | |
| tree | bfe55e7257d320fc22f4a60c6ad9873252934d9e /Earthfile | |
| parent | feat(settings): simplify (diff) | |
| download | due.moe-880188fe003eb4cf8bcc23c08bed630539c1f5c6.tar.xz due.moe-880188fe003eb4cf8bcc23c08bed630539c1f5c6.zip | |
feat(settings): version for debug
Diffstat (limited to 'Earthfile')
| -rw-r--r-- | Earthfile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -5,8 +5,12 @@ FROM oven/bun:1.0.15-alpine WORKDIR /due all: + RUN apk add --update --no-cache git + + COPY .git .git + BUILD +lint - BUILD +docker + BUILD +docker --GIT_SHORT_SHA=$(git rev-parse --short HEAD) BUILD +git dev: @@ -27,8 +31,12 @@ lint: RUN bun --bun run check docker: + ARG GIT_SHORT_SHA + COPY +build/build . + RUN echo "PUBLIC_GIT_SHORT_SHA=$GIT_SHORT_SHA" > .env + CMD ["bun", "--bun", "./index.js"] SAVE IMAGE --push fuwn/due-next:latest |