Lint & Format (JS/TS) / lint-format (pull_request) Successful in 45s
Python / lint-format (pull_request) Successful in 52s
Python / test (pull_request) Successful in 44s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m50s
C++ / build (pull_request) Successful in 3m40s
31 lines
777 B
YAML
31 lines
777 B
YAML
name: Rebuild CI Image
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 6 * * 1"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: alpine
|
|
container:
|
|
image: node:26-alpine
|
|
env:
|
|
IMAGE: git.aramjonghu.dev/aramjonghu/zshell-ci:latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Docker CLI
|
|
run: apk add --no-cache docker-cli
|
|
|
|
- name: Login to registry
|
|
run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login git.aramjonghu.dev --username aramjonghu --password-stdin
|
|
|
|
- name: Build image
|
|
run: docker build -t "$IMAGE" -f ci/Dockerfile .
|
|
|
|
- name: Push image
|
|
run: docker push "$IMAGE"
|