Files
outline-mcp/.gitea/workflows/cd.yaml
Renovate Bot 370781b5a2
Some checks failed
CD / Build and push (amd64) (push) Has been cancelled
CD / Build and push (arm64) (push) Has been cancelled
CD / Create manifest (push) Has been cancelled
CD / test (push) Has been cancelled
CD / Check changes (push) Has been cancelled
chore(deps): update docker/build-push-action action to v7 (#30)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [docker/build-push-action](https://github.com/docker/build-push-action) | action | major | `v6.18.0` → `v7.0.0` |

---

### Release Notes

<details>
<summary>docker/build-push-action (docker/build-push-action)</summary>

### [`v7.0.0`](https://github.com/docker/build-push-action/releases/tag/v7.0.0)

[Compare Source](https://github.com/docker/build-push-action/compare/v6.19.2...v7.0.0)

- Node 24 as default runtime (requires [Actions Runner v2.327.1](https://github.com/actions/runner/releases/tag/v2.327.1) or later) by [@&#8203;crazy-max](https://github.com/crazy-max) in [#&#8203;1470](https://github.com/docker/build-push-action/pull/1470)
- Remove deprecated `DOCKER_BUILD_NO_SUMMARY` and `DOCKER_BUILD_EXPORT_RETENTION_DAYS` envs by [@&#8203;crazy-max](https://github.com/crazy-max) in [#&#8203;1473](https://github.com/docker/build-push-action/pull/1473)
- Remove legacy export-build tool support for build summary by [@&#8203;crazy-max](https://github.com/crazy-max) in [#&#8203;1474](https://github.com/docker/build-push-action/pull/1474)
- Switch to ESM and update config/test wiring by [@&#8203;crazy-max](https://github.com/crazy-max) in [#&#8203;1466](https://github.com/docker/build-push-action/pull/1466)
- Bump [@&#8203;actions/core](https://github.com/actions/core) from 1.11.1 to 3.0.0 in [#&#8203;1454](https://github.com/docker/build-push-action/pull/1454)
- Bump [@&#8203;docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.62.1 to 0.79.0 in [#&#8203;1453](https://github.com/docker/build-push-action/pull/1453) [#&#8203;1472](https://github.com/docker/build-push-action/pull/1472) [#&#8203;1479](https://github.com/docker/build-push-action/pull/1479)
- Bump minimatch from 3.1.2 to 3.1.5 in [#&#8203;1463](https://github.com/docker/build-push-action/pull/1463)

**Full Changelog**: <https://github.com/docker/build-push-action/compare/v6.19.2...v7.0.0>

### [`v6.19.2`](https://github.com/docker/build-push-action/releases/tag/v6.19.2)

[Compare Source](https://github.com/docker/build-push-action/compare/v6.19.1...v6.19.2)

- Preserve port in `GIT_AUTH_TOKEN` host by [@&#8203;crazy-max](https://github.com/crazy-max) in [#&#8203;1458](https://github.com/docker/build-push-action/pull/1458)

**Full Changelog**: <https://github.com/docker/build-push-action/compare/v6.19.1...v6.19.2>

### [`v6.19.1`](https://github.com/docker/build-push-action/releases/tag/v6.19.1)

[Compare Source](https://github.com/docker/build-push-action/compare/v6.19.0...v6.19.1)

- Derive `GIT_AUTH_TOKEN` host from GitHub server URL by [@&#8203;crazy-max](https://github.com/crazy-max) in [#&#8203;1456](https://github.com/docker/build-push-action/pull/1456)

**Full Changelog**: <https://github.com/docker/build-push-action/compare/v6.19.0...v6.19.1>

### [`v6.19.0`](https://github.com/docker/build-push-action/releases/tag/v6.19.0)

[Compare Source](https://github.com/docker/build-push-action/compare/v6.18.0...v6.19.0)

- Scope default git auth token to `github.com` by [@&#8203;crazy-max](https://github.com/crazy-max) in [#&#8203;1451](https://github.com/docker/build-push-action/pull/1451)
- Bump brace-expansion from 1.1.11 to 1.1.12 in [#&#8203;1396](https://github.com/docker/build-push-action/pull/1396)
- Bump form-data from 2.5.1 to 2.5.5 in [#&#8203;1391](https://github.com/docker/build-push-action/pull/1391)
- Bump js-yaml from 3.14.1 to 3.14.2 in [#&#8203;1429](https://github.com/docker/build-push-action/pull/1429)
- Bump lodash from 4.17.21 to 4.17.23 in [#&#8203;1446](https://github.com/docker/build-push-action/pull/1446)
- Bump tmp from 0.2.3 to 0.2.4 in [#&#8203;1398](https://github.com/docker/build-push-action/pull/1398)
- Bump undici from 5.28.4 to 5.29.0 in [#&#8203;1397](https://github.com/docker/build-push-action/pull/1397)

**Full Changelog**: <https://github.com/docker/build-push-action/compare/v6.18.0...v6.19.0>

</details>

---

### 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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- 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: #30
Reviewed-by: t.behrendt <t.behrendt@noreply.localhost>
Co-authored-by: Renovate Bot <renovate@t00n.de>
Co-committed-by: Renovate Bot <renovate@t00n.de>
2026-03-15 22:19:15 +01:00

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@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
- 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@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.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