Skip to content

Quartz-7d7e334 #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 34 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
82cdbda
feat: responsive design grid (#1354)
saberzero1 Sep 23, 2024
1fd0753
cull Quartz docs
MasssiveJuice08 Jan 25, 2025
ca13b97
Replace $mobileBreakpoint with $mobile
MasssiveJuice08 Jan 25, 2025
a148329
chore(deps): bump shiki from 1.12.1 to 1.18.0 (#1436)
dependabot[bot] Sep 25, 2024
1a9b07c
chore(deps): bump hast-util-to-html from 9.0.2 to 9.0.3 (#1434)
dependabot[bot] Sep 25, 2024
f0c82a1
chore(deps): bump rehype-pretty-code from 0.13.2 to 0.14.0 (#1433)
dependabot[bot] Sep 25, 2024
c56e2b6
chore(deps): bump remark-rehype from 11.1.0 to 11.1.1 (#1435)
dependabot[bot] Sep 25, 2024
1447ddc
chore(deps): bump pixi.js from 8.3.4 to 8.4.1 (#1432)
dependabot[bot] Sep 25, 2024
f5b694f
Fix: truncate (max-width: $mobile) to ($mobile)
MasssiveJuice08 Jan 27, 2025
e6ab368
feat: add a config option for a pageTitleSuffix (#1320)
threehymns Sep 25, 2024
81bb179
fix(layout): grid triage and regression (#1440)
saberzero1 Sep 25, 2024
0cdbc6a
fix(layout): grid triage with backlinks (#1442)
saberzero1 Sep 25, 2024
399b08c
fix: provide default pageTitleSuffix (closes #1452)
jackyzha0 Sep 28, 2024
bee7a28
fix(layout): backlinks grid triage (#1447)
saberzero1 Sep 30, 2024
95266e6
feat(analytics): clarity (#1446)
MalcolmMielle Sep 30, 2024
5c1a26c
chore(deps): bump @floating-ui/dom from 1.6.10 to 1.6.11 (#1463)
dependabot[bot] Oct 1, 2024
06437d3
fix(layout): restore footer to the proper position (#1470)
saberzero1 Oct 1, 2024
3bc77fa
chore(deps-dev): bump tsx from 4.19.0 to 4.19.1 (#1467)
dependabot[bot] Oct 2, 2024
c46162d
chore(deps): bump hast-util-to-string from 3.0.0 to 3.0.1 (#1466)
dependabot[bot] Oct 2, 2024
9fc2662
chore(deps-dev): bump @types/node from 22.5.5 to 22.7.4 (#1465)
dependabot[bot] Oct 2, 2024
7e917aa
chore(deps): bump preact from 10.24.0 to 10.24.1 (#1464)
dependabot[bot] Oct 2, 2024
699ff50
i18n: add Czech translation (#1477)
kurekmartin Oct 4, 2024
5d37dcc
infra: build quartz docker image to GHCR (#1192)
juliavdkris Oct 7, 2024
34e20bc
fix(ci): run build on tags (#1483)
aarnphm Oct 7, 2024
919cc53
chore(ci): remove signing and vuln (#1484)
aarnphm Oct 7, 2024
b147dd8
chore(ci): group dependabot upgrade (#1491)
aarnphm Oct 9, 2024
c804321
chore(citations): passthrough options (#1429)
aarnphm Oct 9, 2024
df4fe0d
chore(deps): bump the production-dependencies group with 9 updates (#…
dependabot[bot] Oct 9, 2024
3fbb8bf
feat(ofm): Allow for dashes in custom callout label (#1493)
lairez Oct 10, 2024
309d462
fix(toc): invalid desktop-only styling (#1502)
aarnphm Oct 12, 2024
4830b96
docs: Update Name and URL of Simon's SB and adding DE Vault (#1507)
sspaeti Oct 13, 2024
2424ee8
fix(cli): use shell on win32 for `update` (#1503) (#1504)
ssmendon Oct 13, 2024
fb943a6
fix: make filter checks more strict (closes #1519)
jackyzha0 Oct 15, 2024
7146c77
fix(toc): regression (#1517)
saberzero1 Oct 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions .github/workflows/docker-build-push.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: Docker build & push image

on:
push:
branches: [v4]
tags: ["v*"]
pull_request:
branches: [v4]
paths:
- .github/workflows/docker-build-push.yaml
- quartz/**
workflow_dispatch:

jobs:
build:
if: ${{ github.repository == 'jackyzha0/quartz' }} # Comment this out if you want to publish your own images on a fork!
runs-on: ubuntu-latest
steps:
- name: Set lowercase repository owner environment variable
run: |
echo "OWNER_LOWERCASE=${OWNER,,}" >> ${GITHUB_ENV}
env:
OWNER: "${{ github.repository_owner }}"
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4.4.1
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
install: true
driver-opts: |
image=moby/buildkit:master
network=host
- name: Install cosign
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@v3.7.0
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata tags and labels on PRs
if: github.event_name == 'pull_request'
id: meta-pr
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ env.OWNER_LOWERCASE }}/quartz
tags: |
type=raw,value=sha-${{ env.GITHUB_SHA_SHORT }}
labels: |
org.opencontainers.image.source="https://github.com/${{ github.repository_owner }}/quartz"
- name: Extract metadata tags and labels for main, release or tag
if: github.event_name != 'pull_request'
id: meta
uses: docker/metadata-action@v5
with:
flavor: |
latest=auto
images: ghcr.io/${{ env.OWNER_LOWERCASE }}/quartz
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}.{{minor}}.{{patch}}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
type=raw,value=sha-${{ env.GITHUB_SHA_SHORT }}
labels: |
maintainer=${{ github.repository_owner }}
org.opencontainers.image.source="https://github.com/${{ github.repository_owner }}/quartz"

- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v6
with:
push: ${{ github.event_name != 'pull_request' }}
build-args: |
GIT_SHA=${{ env.GITHUB_SHA }}
DOCKER_LABEL=sha-${{ env.GITHUB_SHA_SHORT }}
tags: ${{ steps.meta.outputs.tags || steps.meta-pr.outputs.tags }}
labels: ${{ steps.meta.outputs.labels || steps.meta-pr.outputs.labels }}
cache-from: type=gha
cache-to: type=gha
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-slim as builder
FROM node:20-slim AS builder
WORKDIR /usr/src/app
COPY package.json .
COPY package-lock.json* .
Expand Down
Loading