Files
plainleaf/.github/workflows/docker-website.yml
T
Zef HemelandGitHub 91e76d0c78 Rust backend/CLI replacement (previously Go) (#2010)
* Rust backend: initial setup and space primitives implementation + tests

* Rust: initial basic server setup

* Rust server: auth layer

* Rust: added specific auth layers

* Rust: shell and proxy endpoints

* Rust: SSR and Prometheus metrics

* Rust: runtime API

* Rust: basic working silverbullet binary server

* Rust: fix client file caching

* Rust: in dev mode, update version number dynamically

* Rust: build-rs Makefile target

* Rust: auth and start of 'sb' CLI

* Rust: headless Chrome runtime runner

* Rust: basic e2e tests for Rust build

* Rust: docker builds

* Rust: forgot to commit silverbullet-bin code

* Rust: cross compile and chrome driver fixes

* Rust: waiting for ready status fixes

* Rust: sb-CLI port

* Rust: use native build toolchain

* Rust: fix build chain

* Rust: edge release builds

* Rust: FreeBSD and armv7 builds

* Rust: edge-upgrade from edge-rust release

* Rust: fix FreeBSD build

* Rust: fix FreeBSD build

* Rust: get rid of Go code

* refactor: rename library crates to server- prefix convention

* Rust: refactoring, moving crypto around

* Rust: more refactoring

* Runtime: internal renaming

* Fix: cursor placement after paste on Webkit browsers

* Tweak how version numbers are generated and consumed

* Cleanup CI situation

* Fix CI

* Fix e2e

* ci: website image uses :edge channel (was :v2) post-merge

* Rust: restore manifest.json endpoint

* Rust: ready to merge
2026-06-16 08:40:41 +02:00

53 lines
1.3 KiB
YAML

name: Docker Website (Manual)
on:
workflow_dispatch:
inputs:
tag:
description: "Website image tag to build"
required: true
default: "edge"
type: choice
options:
- edge
- latest
git_ref:
description: "Git tag/branch to checkout for website content"
required: true
default: "main"
type: string
base_image:
description: "Base SilverBullet image (e.g. zefhemel/silverbullet:v2)"
required: true
default: "zefhemel/silverbullet:v2"
env:
WEBSITE_IMAGE: zefhemel/silverbullet-website
jobs:
docker-website:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v4
with:
ref: ${{ inputs.git_ref }}
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: "Website: Build and push"
uses: docker/build-push-action@v6.18.0
with:
context: .
file: Dockerfile.website
push: true
provenance: false
build-args: |
BASE_IMAGE=${{ inputs.base_image }}
tags: ${{ env.WEBSITE_IMAGE }}:${{ inputs.tag }}