From 1dd427afb98af644c6807b4a7c3f1abbabe93dfe Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Fri, 31 Mar 2023 16:24:07 +0000 Subject: [PATCH] build(global): update CI image used for CI and add docker:ci script in package.json Signed-off-by: Andrei Jiroh Halili --- .gitlab-ci.yml | 7 +++---- package.json | 5 +++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 76023a5..d317dee 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,16 +1,15 @@ image: - name: dock.mau.dev/ajhalili2006/tildeverse-web/build-ci - entrypoint: - - sh + name: dock.mau.dev/ajhalili2006/tildeverse-web/build-ci:commit-6c3c12ebba8921d9f7afc66681073aec5500a809 variables: + DEBUG: "1" FF_ENABLE_COMMIT_DATA: "true" FF_GENERATE_SOCIAL_CARDS: "true" SECURE_FILES_DOWNLOAD_PATH: /run/secrets .setupkit: before_script: - - apk add curl gnupg bash coreutils + - apk add curl gnupg bash coreutils && mkdir /run/secrets - curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash - (curl -Ls --tlsv1.2 --proto "=https" --retry 3 https://cli.doppler.com/install.sh || wget -t 3 -qO- https://cli.doppler.com/install.sh) | sh tags: diff --git a/package.json b/package.json index 2928c8d..e189a61 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,9 @@ "version": "0.1.0", "description": "Personal website for my tildes + Gemini version of blog posts", "scripts": { - "dev": "mkdocs serve", - "build": "mkdocs build" + "dev": "./bin/localdev.sh", + "build": "mkdocs build", + "docker:ci": "docker build -t dock.mau.dev/ajhalili2006/tildeverse-web/build-ci:localdev ./docker" }, "repository": { "type": "git",