diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml deleted file mode 100644 index eb37c5b..0000000 --- a/.github/workflows/docker-build.yml +++ /dev/null @@ -1,80 +0,0 @@ -name: Docker Build and Push - -on: - push: - branches: [ main, develop ] - tags: [ 'v*' ] - pull_request: - branches: [ main, develop ] - release: - types: [ published ] - -env: - REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }} - -jobs: - build-and-push: - name: Build and Push Docker Image - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - attestations: write - id-token: write - security-events: write - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Log in to Container Registry - if: github.event_name != 'pull_request' - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Extract metadata - id: meta - uses: docker/metadata-action@v5 - with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - tags: | - type=ref,event=branch - type=ref,event=pr - type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} - type=semver,pattern={{major}} - type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }} - labels: | - org.opencontainers.image.title=IPNet Website - org.opencontainers.image.description=A website for the IPNet community - org.opencontainers.image.vendor=IPNet Team - org.opencontainers.image.licenses=GNU-GPL-3.0-or-later - - - name: Build and push Docker image - id: build - uses: docker/build-push-action@v6 - with: - context: . - platforms: linux/amd64 - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max - provenance: true - sbom: true - - - name: Generate artifact attestation - if: github.event_name != 'pull_request' - uses: actions/attest-build-provenance@v1 - with: - subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - subject-digest: ${{ steps.build.outputs.digest }} - push-to-registry: true diff --git a/.github/workflows/opencode.yml b/.github/workflows/opencode.yml deleted file mode 100644 index ed4a0c9..0000000 --- a/.github/workflows/opencode.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: opencode - -on: - issue_comment: - types: [created] - -jobs: - opencode: - if: | - contains(github.event.comment.body, ' /oc') || - startsWith(github.event.comment.body, '/oc') || - contains(github.event.comment.body, ' /opencode') || - startsWith(github.event.comment.body, '/opencode') - runs-on: ubuntu-latest - permissions: - id-token: write - contents: read - pull-requests: read - issues: read - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Run opencode - uses: sst/opencode/github@latest - env: - ZHIPU_API_KEY: ${{ secrets.ZHIPU_API_KEY }} - with: - model: zai-coding-plan/glm-4.6 diff --git a/README.md b/README.md index ebd7fbb..5b6caa2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,15 @@ # IPNet Community Website -[![Docker Build and Push](https://github.com/ipnet-mesh/website/actions/workflows/docker-build.yml/badge.svg)](https://github.com/ipnet-mesh/website/actions/workflows/docker-build.yml) +> [!CAUTION] +> ## 📦 This Project is Archived +> +> **This repository is no longer actively maintained.** All future development has moved to the new unified repository: +> +> ### 👉 [**MeshCore Hub**](https://github.com/ipnet-mesh/meshcore-hub) +> +> Please use MeshCore Hub for all new projects and contributions. This repository remains available for reference only. + +--- A Flask-based community website for IPNet (Ipswich Mesh Network), a local MeshCore community group serving Ipswich, Suffolk, UK. The site displays mesh network nodes, member profiles, and provides community information with interactive maps and statistics.