Compare commits
1 commit
bf52cb4215
...
6825622e25
Author | SHA1 | Date | |
---|---|---|---|
6825622e25 |
2 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ steps:
|
|||
when:
|
||||
- event: [tag, manual, push, pull_request]
|
||||
branch: main
|
||||
image: docker@sha256:d4668861cabc1691635d98e827a81cfa834a416f8fe0f4efc609f9f806d86d82
|
||||
image: docker@sha256:eec0f0f3bb32ce2ddb6b577d7c7e1811dfb0c55fb9367c899a8e0a99daf3a48f
|
||||
environment:
|
||||
DOCKER_USERNAME:
|
||||
from_secret: docker_public_username
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
# Build stage of the application
|
||||
FROM oven/bun@sha256:8b5e8d3b6a734ae438c7c6f1bdc23e54eb9c35a0e2e3099ea2ca0ef781aca23b AS build
|
||||
FROM oven/bun@sha256:ffd754d1d771513d7b21fb013b60bfc1e22e862d310e9727726d25d1827b6a06 AS build
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN bun i && bun run build
|
||||
|
||||
# Production stage to run the application
|
||||
FROM cgr.dev/chainguard/nginx@sha256:efb8c891051638033980879759bf34301585ebc0bb66fcd78602646361886b91 AS production
|
||||
FROM cgr.dev/chainguard/nginx@sha256:80212159ba3d9e92d8c251e3d867ffded93ee598caaeba67a00ece7ee0dbd076 AS production
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["nginx", "-g", "daemon off;"]
|
Loading…
Reference in a new issue