All checks were successful
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@types/cors](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cors) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/cors)) | devDependencies | pin | [`^2.8.19` → `2.8.19`](https://renovatebot.com/diffs/npm/@types%2fcors/2.8.19/2.8.19) | | [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express)) | devDependencies | pin | [`^5.0.3` → `5.0.6`](https://renovatebot.com/diffs/npm/@types%2fexpress/5.0.6/5.0.6) | | [@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin) ([source](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | devDependencies | pin | [`^8.37.0` → `8.55.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/8.55.0/8.55.0) | | [@typescript-eslint/parser](https://typescript-eslint.io/packages/parser) ([source](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser)) | devDependencies | pin | [`^8.37.0` → `8.55.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/8.55.0/8.55.0) | | [actions/setup-node](https://github.com/actions/setup-node) | action | pinDigest | → `a0853c2` | | [cspell](https://cspell.org/) ([source](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell)) | devDependencies | pin | [`^9.1.5` → `9.6.4`](https://renovatebot.com/diffs/npm/cspell/9.6.4/9.6.4) | | [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | action | pinDigest | → `8d2750c` | | [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | devDependencies | pin | [`^9.31.0` → `9.39.2`](https://renovatebot.com/diffs/npm/eslint/9.39.2/9.39.2) | | [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) | devDependencies | pin | [`^2.32.0` → `2.32.0`](https://renovatebot.com/diffs/npm/eslint-plugin-import/2.32.0/2.32.0) | | [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | devDependencies | pin | [`^5.5.1` → `5.5.5`](https://renovatebot.com/diffs/npm/eslint-plugin-prettier/5.5.5/5.5.5) | | [eslint-plugin-security](https://github.com/eslint-community/eslint-plugin-security) | devDependencies | pin | [`^3.0.1` → `3.0.1`](https://renovatebot.com/diffs/npm/eslint-plugin-security/3.0.1/3.0.1) | | [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) | devDependencies | pin | [`^61.0.0` → `61.0.2`](https://renovatebot.com/diffs/npm/eslint-plugin-unicorn/61.0.2/61.0.2) | | [typescript-eslint](https://typescript-eslint.io/packages/typescript-eslint) ([source](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint)) | devDependencies | pin | [`^8.37.0` → `8.55.0`](https://renovatebot.com/diffs/npm/typescript-eslint/8.55.0/8.55.0) | ⚠️ Renovate's pin functionality [does not currently](https://github.com/renovatebot/renovate/issues/40288) wire in the release age for a package, so the Minimum Release Age checks can apply. You will need to manually validate the Minimum Release Age for these package(s). Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41LjQiLCJ1cGRhdGVkSW5WZXIiOiI0My41LjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImFjdGlvbiIsImRlcHMiXX0=--> Reviewed-on: https://gitea.t000-n.de/t.behrendt/outline-mcp/pulls/19 Reviewed-by: t.behrendt <t.behrendt@noreply.localhost> Co-authored-by: Renovate Bot <renovate@t00n.de> Co-committed-by: Renovate Bot <renovate@t00n.de>
93 lines
3.2 KiB
YAML
93 lines
3.2 KiB
YAML
name: CD
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
env:
|
|
DOCKER_REGISTRY: gitea.t000-n.de
|
|
|
|
jobs:
|
|
check-changes:
|
|
name: Check changes
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
changes: ${{ steps.filter.outputs.code }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- name: Get changed files
|
|
id: filter
|
|
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
|
|
with:
|
|
filters: |
|
|
code:
|
|
- 'src/**'
|
|
- '.bun-version'
|
|
- 'package.json'
|
|
- 'tsconfig.json'
|
|
- 'Dockerfile'
|
|
- 'bun.lockb'
|
|
|
|
test:
|
|
uses: ./.gitea/workflows/ci.yaml
|
|
|
|
build_and_push:
|
|
name: Build and push
|
|
strategy:
|
|
matrix:
|
|
arch: [ amd64, arm64 ]
|
|
needs:
|
|
- test
|
|
- check-changes
|
|
runs-on:
|
|
- ubuntu-latest
|
|
- linux_${{ matrix.arch }}
|
|
if: ${{ needs.check-changes.outputs.changes == 'true' }}
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
|
|
- uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
|
|
with:
|
|
registry: ${{ env.DOCKER_REGISTRY }}
|
|
username: ${{ secrets.REGISTRY_USER }}
|
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
|
- id: meta
|
|
run: |
|
|
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}' | tr '[:upper:]' '[:lower:]') >> $GITHUB_OUTPUT
|
|
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
|
|
- uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
|
|
with:
|
|
context: .
|
|
file: ./Dockerfile
|
|
platforms: linux/${{ matrix.arch }}
|
|
push: true
|
|
provenance: false
|
|
tags: |
|
|
${{ env.DOCKER_REGISTRY }}/t.behrendt/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}-${{ matrix.arch }}
|
|
|
|
create_manifest:
|
|
name: Create manifest
|
|
needs:
|
|
- build_and_push
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- id: meta
|
|
run: |
|
|
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}' | tr '[:upper:]' '[:lower:]') >> $GITHUB_OUTPUT
|
|
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
|
|
- uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
|
|
with:
|
|
registry: ${{ env.DOCKER_REGISTRY }}
|
|
username: ${{ secrets.REGISTRY_USER }}
|
|
password: ${{ secrets.REGISTRY_PASSWORD }}
|
|
- run: |
|
|
docker manifest create ${{ env.DOCKER_REGISTRY }}/t.behrendt/${{ steps.meta.outputs.REPO_NAME }}:latest \
|
|
${{ env.DOCKER_REGISTRY }}/t.behrendt/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}-amd64 \
|
|
${{ env.DOCKER_REGISTRY }}/t.behrendt/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}-arm64
|
|
|
|
docker manifest push ${{ env.DOCKER_REGISTRY }}/t.behrendt/${{ steps.meta.outputs.REPO_NAME }}:latest
|