diff --git a/.gitea/workflows/release-image.yml b/.gitea/workflows/release-image.yml deleted file mode 100644 index c2b6438..0000000 --- a/.gitea/workflows/release-image.yml +++ /dev/null @@ -1,98 +0,0 @@ -name: release-image - -on: - push: - tags: - - 1.* - - workflow_dispatch: - -jobs: - release: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Login to Registry - uses: docker/login-action@v3 - with: - registry: ${{ vars.REPOSITORY_HOST }} - username: ${{ gitea.actor }} - password: ${{ secrets.REPOSITORY_TOKEN }} - - - name: Login to Registry - uses: docker/login-action@v3 - with: - registry: ${{ vars.REGISTRY_HOST }} - username: ${{ vars.REGISTRY_USER }} - password: ${{ secrets.REGISTRY_SECRET }} - - - name: Create Kubeconfig - run: | - mkdir $HOME/.kube - echo "${{ secrets.KUBECONFIG_BUILDX }}" > $HOME/.kube/config - - - name: Set up Docker Buildx - id: buildx - uses: docker/setup-buildx-action@v3 - with: - driver: kubernetes - driver-opts: | - namespace=gitea - qemu.install=true - buildkitd-config-inline: | - [registry."docker.io"] - mirrors = ["harbor.alexlebens.net/proxy-hub.docker/"] - - - name: Available Platforms - run: echo ${{ steps.buildx.outputs.platforms }} - - - name: Extract Metadata - id: meta - uses: docker/metadata-action@v5 - with: - tags: | - type=ref,event=branch - type=ref,event=tag - images: | - ${{ vars.REPOSITORY_HOST }}/${{ gitea.repository }} - ${{ vars.REGISTRY_HOST }}/images/site-profile - - - name: Build and Push Image - uses: docker/build-push-action@v6 - with: - context: . - push: true - platforms: linux/amd64 - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - file: ./Dockerfile - - - name: ntfy Success - uses: niniyas/ntfy-action@master - if: success() - with: - url: '${{ secrets.NTFY_URL }}' - topic: '${{ secrets.NTFY_TOPIC }}' - title: 'Gitea Action' - priority: 3 - headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}' - tags: action,successfully,completed - details: 'Site Profile build workflow has successfully completed!' - icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png' - - - name: ntfy Failed - uses: niniyas/ntfy-action@master - if: failure() - with: - url: '${{ secrets.NTFY_URL }}' - topic: '${{ secrets.NTFY_TOPIC }}' - title: 'Gitea Action' - priority: 4 - headers: '{"Authorization": "Bearer ${{ secrets.NTFY_CRED }}"}' - tags: action,failed - details: 'Site Profile build workflow has failed!' - icon: 'https://cdn.jsdelivr.net/gh/selfhst/icons/png/gitea.png' - actions: '[{"action": "view", "label": "Open Gitea", "url": "https://gitea.alexlebens.dev/alexlebens/site-profile/actions?workflow=release-image.yml", "clear": true}]' - image: true diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml deleted file mode 100644 index c35ac97..0000000 --- a/.gitea/workflows/renovate.yaml +++ /dev/null @@ -1,32 +0,0 @@ -name: renovate - -on: - schedule: - - cron: '@daily' - - push: - branches: - - main - - workflow_dispatch: - -jobs: - renovate: - runs-on: ubuntu-latest - container: ghcr.io/renovatebot/renovate:41 - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Renovate - run: renovate - env: - RENOVATE_PLATFORM: gitea - RENOVATE_ENDPOINT: ${{ vars.INSTANCE_URL }} - RENOVATE_REPOSITORIES: alexlebens/site-profile - RENOVATE_GIT_AUTHOR: Renovate Bot - LOG_LEVEL: info - RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} - RENOVATE_GIT_PRIVATE_KEY: ${{ secrets.RENOVATE_GIT_PRIVATE_KEY }} - RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }} - RENOVATE_REDIS_URL: ${{ vars.RENOVATE_REDIS_URL }} diff --git a/.gitea/workflows/test-build.yaml b/.gitea/workflows/test-build.yaml deleted file mode 100644 index 6dfae40..0000000 --- a/.gitea/workflows/test-build.yaml +++ /dev/null @@ -1,37 +0,0 @@ -name: test-build - -on: - push: - branches: - - main - - pull_request: - branches: - - main - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up pnpm - uses: pnpm/action-setup@v4 - with: - version: 10.x - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: 22.18.0 - cache: pnpm - - - name: Install Dependencies - run: pnpm install - - - name: Lint Code - run: pnpm lint - - - name: Build Project - run: pnpm build