Compare commits

...

2 Commits

Author SHA1 Message Date
b4af6404ca chore(deps): pin dependencies
All checks were successful
test-build / guarddog (pull_request) Successful in 6m0s
test-build / build (pull_request) Successful in 7m43s
2026-04-17 00:05:53 +00:00
70779b5adf ci: reconfigure
All checks were successful
renovate / renovate (push) Successful in 2m59s
2026-04-16 11:40:44 -05:00
3 changed files with 30 additions and 38 deletions

View File

@@ -18,29 +18,21 @@ on:
default: false default: false
jobs: jobs:
debug:
runs-on: ubuntu-js
steps:
- name: Dump Context
run: |
echo "Event Name: ${{ github.event_name }}";
echo "Input Value: ${{ inputs['directus-release'] }}";
build: build:
runs-on: ubuntu-js runs-on: ubuntu-js
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v6.0.2
with: with:
ref: release ref: release
- name: Set up Node - name: Set up Node
uses: actions/setup-node@v6 uses: actions/setup-node@v6.3.0
with: with:
node-version: 24.14.1 node-version: 24.14.1
- name: Set up Bun - name: Set up Bun
uses: oven-sh/setup-bun@v2 uses: oven-sh/setup-bun@v2.2.0
with: with:
bun-version: 1.3.12 bun-version: 1.3.12
@@ -48,7 +40,7 @@ jobs:
run: bun install --frozen-lockfile run: bun install --frozen-lockfile
- name: Cache Astro Build - name: Cache Astro Build
uses: actions/cache@v5 uses: actions/cache@v5.0.5
with: with:
path: | path: |
.astro .astro
@@ -83,12 +75,12 @@ jobs:
runs-on: ubuntu-js runs-on: ubuntu-js
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v6.0.2
with: with:
ref: release ref: release
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v6 uses: actions/setup-python@v6.2.0
with: with:
python-version: '3.12.13' python-version: '3.12.13'
@@ -120,15 +112,15 @@ jobs:
needs: [ build, guarddog ] needs: [ build, guarddog ]
runs-on: ubuntu-js runs-on: ubuntu-js
if: | if: |
github.event_name != 'workflow_dispatch' || (github.event_name == 'push') ||
github.event.inputs['directus-release'] == 'true' (github.event_name == 'workflow_dispatch' && github.event.inputs['directus-release'] == 'true')
outputs: outputs:
new-release-published: ${{ steps.semantic.outputs.new-release-published }} new-release-published: ${{ steps.semantic.outputs.new-release-published }}
new-release-version: ${{ steps.semantic.outputs.new-release-version }} new-release-version: ${{ steps.semantic.outputs.new-release-version }}
new-release-git-tag: ${{ steps.semantic.outputs.new-release-git-tag }} new-release-git-tag: ${{ steps.semantic.outputs.new-release-git-tag }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v6.0.2
with: with:
fetch-depth: 0 fetch-depth: 0
token: ${{ secrets.BOT_TOKEN }} token: ${{ secrets.BOT_TOKEN }}
@@ -141,12 +133,12 @@ jobs:
git commit --allow-empty -m "fix(content): directus published update [skip ci]" git commit --allow-empty -m "fix(content): directus published update [skip ci]"
- name: Set up Node - name: Set up Node
uses: actions/setup-node@v6 uses: actions/setup-node@v6.3.0
with: with:
node-version: 24.14.1 node-version: 24.14.1
- name: Set up Bun - name: Set up Bun
uses: oven-sh/setup-bun@v2 uses: oven-sh/setup-bun@v2.2.0
with: with:
bun-version: 1.3.12 bun-version: 1.3.12
@@ -168,19 +160,19 @@ jobs:
if: ${{ needs.semantic-release.outputs.new-release-published == 'true' }} if: ${{ needs.semantic-release.outputs.new-release-published == 'true' }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v6.0.2
with: with:
ref: release ref: release
- name: Login to Harbor Registry - name: Login to Harbor Registry
uses: docker/login-action@v4 uses: docker/login-action@v4.1.0
with: with:
registry: ${{ vars.REGISTRY_HOST }} registry: ${{ vars.REGISTRY_HOST }}
username: ${{ vars.REGISTRY_USER }} username: ${{ vars.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_SECRET }} password: ${{ secrets.REGISTRY_SECRET }}
- name: Login to Docker - name: Login to Docker
uses: docker/login-action@v4 uses: docker/login-action@v4.1.0
with: with:
registry: ${{ vars.DH_REGISTRY }} registry: ${{ vars.DH_REGISTRY }}
username: ${{ secrets.DH_USERNAME }} username: ${{ secrets.DH_USERNAME }}
@@ -193,7 +185,7 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
id: buildx id: buildx
uses: docker/setup-buildx-action@v4 uses: docker/setup-buildx-action@v4.0.0
with: with:
driver: kubernetes driver: kubernetes
driver-opts: | driver-opts: |
@@ -208,7 +200,7 @@ jobs:
- name: Extract Metadata - name: Extract Metadata
id: meta id: meta
uses: docker/metadata-action@v6 uses: docker/metadata-action@v6.0.0
with: with:
images: | images: |
${{ vars.REGISTRY_HOST }}/images/site-profile ${{ vars.REGISTRY_HOST }}/images/site-profile
@@ -221,7 +213,7 @@ jobs:
type=semver,pattern={{major}},value=${{ needs.semantic-release.outputs.new-release-version }} type=semver,pattern={{major}},value=${{ needs.semantic-release.outputs.new-release-version }}
- name: Build and Push Image - name: Build and Push Image
uses: docker/build-push-action@v7 uses: docker/build-push-action@v7.1.0
with: with:
context: . context: .
push: true push: true
@@ -272,19 +264,19 @@ jobs:
needs.semantic-release.outputs.new-release-published == 'true' needs.semantic-release.outputs.new-release-published == 'true'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v6.0.2
with: with:
ref: release ref: release
- name: Login to Gitea Registry - name: Login to Gitea Registry
uses: docker/login-action@v4 uses: docker/login-action@v4.1.0
with: with:
registry: ${{ vars.REPOSITORY_HOST }} registry: ${{ vars.REPOSITORY_HOST }}
username: ${{ gitea.actor }} username: ${{ gitea.actor }}
password: ${{ secrets.REPOSITORY_TOKEN }} password: ${{ secrets.REPOSITORY_TOKEN }}
- name: Login to Docker - name: Login to Docker
uses: docker/login-action@v4 uses: docker/login-action@v4.1.0
with: with:
registry: ${{ vars.DH_REGISTRY }} registry: ${{ vars.DH_REGISTRY }}
username: ${{ secrets.DH_USERNAME }} username: ${{ secrets.DH_USERNAME }}
@@ -297,7 +289,7 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
id: buildx id: buildx
uses: docker/setup-buildx-action@v4 uses: docker/setup-buildx-action@v4.0.0
with: with:
driver: kubernetes driver: kubernetes
driver-opts: | driver-opts: |
@@ -312,7 +304,7 @@ jobs:
- name: Extract Metadata - name: Extract Metadata
id: meta id: meta
uses: docker/metadata-action@v6 uses: docker/metadata-action@v6.0.0
with: with:
images: | images: |
${{ vars.REPOSITORY_HOST }}/${{ gitea.repository }} ${{ vars.REPOSITORY_HOST }}/${{ gitea.repository }}
@@ -325,7 +317,7 @@ jobs:
type=semver,pattern={{major}},value=${{ needs.semantic-release.outputs.new-release-version }} type=semver,pattern={{major}},value=${{ needs.semantic-release.outputs.new-release-version }}
- name: Build and Push Image - name: Build and Push Image
uses: docker/build-push-action@v7 uses: docker/build-push-action@v7.1.0
with: with:
context: . context: .
push: true push: true

View File

@@ -12,7 +12,7 @@ jobs:
container: ghcr.io/renovatebot/renovate:43 container: ghcr.io/renovatebot/renovate:43
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v6.0.2
- name: Renovate - name: Renovate
run: renovate run: renovate

View File

@@ -17,15 +17,15 @@ jobs:
runs-on: ubuntu-js runs-on: ubuntu-js
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v6.0.2
- name: Set up Node - name: Set up Node
uses: actions/setup-node@v6 uses: actions/setup-node@v6.3.0
with: with:
node-version: 24.14.1 node-version: 24.14.1
- name: Set up Bun - name: Set up Bun
uses: oven-sh/setup-bun@v2 uses: oven-sh/setup-bun@v2.2.0
with: with:
bun-version: 1.3.12 bun-version: 1.3.12
@@ -33,7 +33,7 @@ jobs:
run: bun install --frozen-lockfile run: bun install --frozen-lockfile
- name: Cache Astro Build Cache - name: Cache Astro Build Cache
uses: actions/cache@v5 uses: actions/cache@v5.0.5
with: with:
path: | path: |
.astro .astro
@@ -67,10 +67,10 @@ jobs:
runs-on: ubuntu-js runs-on: ubuntu-js
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v6.0.2
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v6 uses: actions/setup-python@v6.2.0
with: with:
python-version: '3.12.13' python-version: '3.12.13'