diff --git a/.github/workflows/docker-sync.yml b/.github/workflows/docker-sync.yml new file mode 100644 index 0000000..4aa83fd --- /dev/null +++ b/.github/workflows/docker-sync.yml @@ -0,0 +1,68 @@ +# This is a basic workflow to help you get started with Actions + +name: docker-sync + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "master" branch + push: + branches: [ "master" ] + pull_request: + types: + - closed + branches: [ "master" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + Sync-Readme: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + + - uses: meeDamian/sync-readme@v1.0.6 + with: + pass: ${{ secrets.DOCKER_PASS }} + description: true + + - uses: meeDamian/sync-readme@v1.0.6 + with: + pass: ${{ secrets.DOCKER_PASS }} + slug: yoruio/invitarr + description: true + + Push-Images: + runs-on: ubuntu-latest + steps: + - + name: Set up QEMU + uses: docker/setup-qemu-action@v2 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + - + name: Login to DockerHub + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_USER }} + password: ${{ secrets.DOCKER_TOKEN }} + - + name: Build and push to membarr + uses: docker/build-push-action@v3 + with: + push: true + tags: yoruio/membarr:latest + - + name: Build and push to invitarr + uses: docker/build-push-action@v3 + with: + push: true + tags: yoruio/invitarr:latest + diff --git a/README.md b/README.md index 7f89b80..b557a3a 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ [![Discord](https://img.shields.io/discord/869287648487936040?color=7289DA&label=Discord&style=for-the-badge&logo=discord)](https://discord.gg/mYbCgtDTrh) [![DockerHub](https://img.shields.io/badge/Docker-Hub-%23099cec?style=for-the-badge&logo=docker)](https://hub.docker.com/r/yoruio/invitarr) ![Docker Pulls](https://img.shields.io/docker/pulls/yoruio/invitarr?color=099cec&style=for-the-badge) +[![docker-sync](https://github.com/Yoruio/Membarr/actions/workflows/docker-sync.yml/badge.svg)](https://github.com/Yoruio/Membarr/actions/workflows/docker-sync.yml) -Invitarr +Membarr ================= Membarr is a fork of Invitarr that invites discord users to Plex and Jellyfin. You can also automate this bot to invite discord users to a media server once a certain role is given to a user or the user can also be added manually.