diff --git a/.github/workflows/docker-develop.yml b/.github/workflows/docker-develop.yml index 05bb7f77f9..4777c7a0e8 100644 --- a/.github/workflows/docker-develop.yml +++ b/.github/workflows/docker-develop.yml @@ -6,11 +6,17 @@ on: - develop workflow_dispatch: +env: + REGISTRY: ghcr.io + jobs: push_to_registry: - name: Push Docker image to Docker Hub + name: Push Docker image to GHCR runs-on: ubuntu-latest - if: github.repository == 'misskey-dev/misskey' + if: github.repository == 'transfem-org/Sharkey' + permissions: + contents: read + packages: write steps: - name: Check out the repo uses: actions/checkout@v4.0.0 @@ -18,18 +24,20 @@ jobs: id: buildx uses: docker/setup-buildx-action@v3.0.0 with: - platforms: linux/amd64,linux/arm64 + platforms: linux/amd64 - name: Docker meta id: meta uses: docker/metadata-action@v5 with: - images: misskey/misskey - - name: Log in to Docker Hub + images: ${{ env.REGISTRY }}/transfem-org/sharkey + - name: Log in to GHCR uses: docker/login-action@v3 with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - - name: Build and Push to Docker Hub + registry: ${{ env.REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build and Push to GHCR + id: build uses: docker/build-push-action@v5 with: builder: ${{ steps.buildx.outputs.name }} @@ -37,7 +45,14 @@ jobs: push: true platforms: ${{ steps.buildx.outputs.platforms }} provenance: false - tags: misskey/misskey:develop + tags: ${{ env.REGISTRY }}/transfem-org/sharkey:develop labels: develop cache-from: type=gha cache-to: type=gha,mode=max + - name: Push update to server + if: steps.build.outcome == 'success' + uses: indiesdev/curl@v1.1 + with: + url: ${{ secrets.AUTO_UPDATE_URL }} + method: POST + timeout: 600000 diff --git a/README.md b/README.md index ab4388c2eb..74397da789 100644 --- a/README.md +++ b/README.md @@ -1,36 +1,21 @@ <div align="center"> <a href="https://misskey-hub.net"> - <img src="./assets/title_float.svg" alt="Misskey logo" style="border-radius:50%" width="400"/> + <img src="https://cdn.transfem.social/files/06eb1052-fd80-448a-803e-3adf7a2d03a3.png" alt="Sharky logo" style="border-radius:50%" width="400"/> </a> -**🌎 **[Misskey](https://misskey-hub.net/)** is an open source, decentralized social media platform that's free forever! 🚀** +**🌎 **[Sharky](https://misskey-hub.net/)** is an open source, decentralized social media platform that's free forever! 🚀** --- -<a href="https://misskey-hub.net/instances.html"> - <img src="https://custom-icon-badges.herokuapp.com/badge/find_an-instance-acea31?logoColor=acea31&style=for-the-badge&logo=misskey&labelColor=363B40" alt="find an instance"/></a> - -<a href="https://misskey-hub.net/docs/install.html"> - <img src="https://custom-icon-badges.herokuapp.com/badge/create_an-instance-FBD53C?logoColor=FBD53C&style=for-the-badge&logo=server&labelColor=363B40" alt="create an instance"/></a> - -<a href="./CONTRIBUTING.md"> - <img src="https://custom-icon-badges.herokuapp.com/badge/become_a-contributor-A371F7?logoColor=A371F7&style=for-the-badge&logo=git-merge&labelColor=363B40" alt="become a contributor"/></a> - -<a href="https://discord.gg/Wp8gVStHW3"> - <img src="https://custom-icon-badges.herokuapp.com/badge/join_the-community-5865F2?logoColor=5865F2&style=for-the-badge&logo=discord&labelColor=363B40" alt="join the community"/></a> - -<a href="https://www.patreon.com/syuilo"> - <img src="https://custom-icon-badges.herokuapp.com/badge/become_a-patron-F96854?logoColor=F96854&style=for-the-badge&logo=patreon&labelColor=363B40" alt="become a patron"/></a> - + Work In Progress + --- -[](https://codecov.io/gh/misskey-dev/misskey) - </div> <div> -<a href="https://xn--931a.moe/"><img src="https://github.com/misskey-dev/misskey/blob/develop/assets/ai.png?raw=true" align="right" height="320px"/></a> +<a href="https://transfem.social/"><img src="https://cdn.transfem.social/files/dce7b668-fa9e-44e9-8e53-60fd743681aa.png" align="right" height="320px"/></a> ## ✨ Features - **ActivityPub support**\ @@ -48,31 +33,3 @@ With Misskey's built in drive, you get cloud storage right in your social media, </div> <div style="clear: both;"></div> - -## Documentation - -Misskey Documentation can be found at [Misskey Hub](https://misskey-hub.net/), some of the links and graphics above also lead to specific portions of it. - -## Sponsors - -<div align="center"> - <a class="rss3" title="RSS3" href="https://rss3.io/" target="_blank"><img src="https://rss3.mypinata.cloud/ipfs/QmUG6H3Z7D5P511shn7sB4CPmpjH5uZWu4m5mWX7U3Gqbu" alt="RSS3" height="60"></a> -</div> - -## Thanks - -<a href="https://www.chromatic.com/"><img src="https://user-images.githubusercontent.com/321738/84662277-e3db4f80-af1b-11ea-88f5-91d67a5e59f6.png" height="30" alt="Chromatic" /></a> - -Thanks to [Chromatic](https://www.chromatic.com/) for providing the visual testing platform that helps us review UI changes and catch visual regressions. - -<a href="https://about.codecov.io/for/open-source/"><img src="https://about.codecov.io/wp-content/themes/codecov/assets/brand/sentry-cobranding/logos/codecov-by-sentry-logo.svg" height="30" alt="Codecov" /></a> - -Thanks to [Codecov](https://about.codecov.io/for/open-source/) for providing the code coverage platform that helps us improve our test coverage. - -<a href="https://crowdin.com/"><img src="https://user-images.githubusercontent.com/20679825/230709597-1299a011-171a-4294-a91e-355a9b37c672.svg" height="30" alt="Crowdin" /></a> - -Thanks to [Crowdin](https://crowdin.com/) for providing the localization platform that helps us translate Misskey into many languages. - -<a href="https://hub.docker.com/"><img src="https://user-images.githubusercontent.com/20679825/230148221-f8e73a32-a49b-47c3-9029-9a15c3824f92.png" height="30" alt="Docker" /></a> - -Thanks to [Docker](https://hub.docker.com/) for providing the container platform that helps us run Misskey in production.