build(global): update CI image used for CI and add docker:ci script in package.json

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2023-03-31 16:24:07 +00:00
parent 0b2a9abb93
commit 1dd427afb9
2 changed files with 6 additions and 6 deletions

View file

@ -1,16 +1,15 @@
image: image:
name: dock.mau.dev/ajhalili2006/tildeverse-web/build-ci name: dock.mau.dev/ajhalili2006/tildeverse-web/build-ci:commit-6c3c12ebba8921d9f7afc66681073aec5500a809
entrypoint:
- sh
variables: variables:
DEBUG: "1"
FF_ENABLE_COMMIT_DATA: "true" FF_ENABLE_COMMIT_DATA: "true"
FF_GENERATE_SOCIAL_CARDS: "true" FF_GENERATE_SOCIAL_CARDS: "true"
SECURE_FILES_DOWNLOAD_PATH: /run/secrets SECURE_FILES_DOWNLOAD_PATH: /run/secrets
.setupkit: .setupkit:
before_script: 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 --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 - (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: tags:

View file

@ -3,8 +3,9 @@
"version": "0.1.0", "version": "0.1.0",
"description": "Personal website for my tildes + Gemini version of blog posts", "description": "Personal website for my tildes + Gemini version of blog posts",
"scripts": { "scripts": {
"dev": "mkdocs serve", "dev": "./bin/localdev.sh",
"build": "mkdocs build" "build": "mkdocs build",
"docker:ci": "docker build -t dock.mau.dev/ajhalili2006/tildeverse-web/build-ci:localdev ./docker"
}, },
"repository": { "repository": {
"type": "git", "type": "git",