You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I upgraded my self-hosted version of Coolify from beta v380 to v384, and after that upgrade, the deployment of my javascript app that uses the SOURCE_COMMIT env started to break, so after a few debugs I realized the source commit value now is an empty string:
my docker file:
FROM oven/bun:1.1.45-alpine AS base
RUN apk add --no-cache git
# WORKDIR /app
COPY package.json bun.lockb ./
# Make sure these files are present before installing
RUN bun install --frozen-lockfile
# Now copy the rest of your source code
COPY . .
FROM base AS build
# Declare the build argument
ARG SOURCE_COMMIT
# Set the environment variable using the build argument
ENV SOURCE_COMMIT=${SOURCE_COMMIT}
ENV NODE_ENV=production
# Run build script
RUN bun run build
FROM build AS release
USER bun
EXPOSE 3000/tcp
ENTRYPOINT [ "bun", "run", "server.ts" ]
Steps to Reproduce
create a sample project and try to deploy it on Coolify using Docker
try reading the SOURCE_COMMIT env and also log it for debugging purposes
the value will be an empty string
Example Repository URL
No response
Coolify Version
v4.0.0-beta.384
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24.04.1 LTS
Additional Information
I'm on the Discord server, please feel free to ping me if some extra information/details is needed (@barion)
The text was updated successfully, but these errors were encountered:
Error Message and Logs
Hi guys, great job on the new releases!
Today I upgraded my self-hosted version of Coolify from beta v380 to v384, and after that upgrade, the deployment of my javascript app that uses the
SOURCE_COMMIT
env started to break, so after a few debugs I realized the source commit value now is an empty string:my docker file:
Steps to Reproduce
Example Repository URL
No response
Coolify Version
v4.0.0-beta.384
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 24.04.1 LTS
Additional Information
I'm on the Discord server, please feel free to ping me if some extra information/details is needed (@barion)
The text was updated successfully, but these errors were encountered: