|
|
|
|
@@ -22,9 +22,9 @@ jobs:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
|
|
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
|
|
|
|
|
|
- uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2
|
|
|
|
|
- uses: oven-sh/setup-bun@3d267786b128fe76c2f16a390aa2448b815359f3 # v2.1.2
|
|
|
|
|
with:
|
|
|
|
|
bun-version-file: ".bun-version"
|
|
|
|
|
|
|
|
|
|
@@ -41,7 +41,7 @@ jobs:
|
|
|
|
|
name: Build and push
|
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
arch: [amd64, arm64]
|
|
|
|
|
arch: [ amd64, arm64 ]
|
|
|
|
|
needs:
|
|
|
|
|
- test
|
|
|
|
|
runs-on:
|
|
|
|
|
@@ -49,13 +49,13 @@ jobs:
|
|
|
|
|
- linux_${{ matrix.arch }}
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
|
|
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
|
|
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
|
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
|
|
|
|
|
|
|
|
|
|
- name: Login to Registry
|
|
|
|
|
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
|
|
|
|
|
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
|
|
|
|
|
with:
|
|
|
|
|
registry: ${{ env.DOCKER_REGISTRY }}
|
|
|
|
|
username: ${{ secrets.REGISTRY_USER }}
|
|
|
|
|
@@ -68,7 +68,7 @@ jobs:
|
|
|
|
|
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
|
|
|
|
|
|
|
|
|
|
- name: Build and push
|
|
|
|
|
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
|
|
|
|
|
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
|
|
|
|
|
with:
|
|
|
|
|
context: .
|
|
|
|
|
file: ./Dockerfile
|
|
|
|
|
@@ -86,15 +86,15 @@ jobs:
|
|
|
|
|
outputs:
|
|
|
|
|
tag: ${{ steps.tag.outputs.new-tag }}
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
|
|
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
|
with:
|
|
|
|
|
fetch-depth: 0
|
|
|
|
|
- uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@9841c96e72d4fc1ecec620e91e213895341cce86 # 0.1.22
|
|
|
|
|
- uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@e2d3fdbd16fb4b0ba78bec3003e6141dc5503628 # 0.1.23
|
|
|
|
|
id: tag
|
|
|
|
|
with:
|
|
|
|
|
token: ${{ secrets.GITEA_TOKEN }}
|
|
|
|
|
prerelease: ${{ github.event_name == 'workflow_dispatch' }}
|
|
|
|
|
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@d9f83ca84e1cbac7de9d1986cb3a7e0c54434e6a # 0.1.1
|
|
|
|
|
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@1b8fe65eda1ea0a7586a5fd552ef8f4a639b154f # 0.1.3
|
|
|
|
|
with:
|
|
|
|
|
tag: ${{ steps.tag.outputs.new-tag }}
|
|
|
|
|
- name: Set output
|
|
|
|
|
@@ -109,7 +109,7 @@ jobs:
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
steps:
|
|
|
|
|
- name: Checkout
|
|
|
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
|
|
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
|
|
|
|
|
|
- name: Get Metadata
|
|
|
|
|
id: meta
|
|
|
|
|
@@ -118,7 +118,7 @@ jobs:
|
|
|
|
|
echo REPO_VERSION=$(git describe --tags --always | sed 's/^v//') >> $GITHUB_OUTPUT
|
|
|
|
|
|
|
|
|
|
- name: Login to Registry
|
|
|
|
|
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
|
|
|
|
|
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
|
|
|
|
|
with:
|
|
|
|
|
registry: ${{ env.DOCKER_REGISTRY }}
|
|
|
|
|
username: ${{ secrets.REGISTRY_USER }}
|
|
|
|
|
|