This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
local bun_image = "oven/bun:0.8.1";
|
||||
local bun_image = "oven/bun:1.0";
|
||||
|
||||
|
||||
local fetch_step = {
|
||||
@@ -7,12 +7,12 @@ local fetch_step = {
|
||||
commands: ["git fetch --tags"],
|
||||
};
|
||||
|
||||
local install_run_step = {
|
||||
name: "install-run",
|
||||
local generate_docker_tags_step = {
|
||||
name: "generate-docker-tags",
|
||||
image: bun_image,
|
||||
commands: [
|
||||
"apt update -y && apt full-upgrade -y && apt install -y --reinstall ca-certificates && apt install -y --no-install-recommends git",
|
||||
"bun install --production --frozen-lockfile --no-cache",
|
||||
"apt-get update && apt-get install -y --reinstall --no-install-recommends ca-certificates && apt-get install -y --no-install-recommends git",
|
||||
"bun install --frozen-lockfile --no-cache --production",
|
||||
"bun start .",
|
||||
],
|
||||
};
|
||||
@@ -50,7 +50,7 @@ local build_docker_step(publish) = {
|
||||
|
||||
steps: [
|
||||
fetch_step,
|
||||
install_run_step,
|
||||
generate_docker_tags_step,
|
||||
build_docker_step(false),
|
||||
],
|
||||
},
|
||||
@@ -72,7 +72,7 @@ local build_docker_step(publish) = {
|
||||
|
||||
steps: [
|
||||
fetch_step,
|
||||
install_run_step,
|
||||
generate_docker_tags_step,
|
||||
build_docker_step(true),
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user