From f47a0e27f72e211750c1d9212414169c35af7381 Mon Sep 17 00:00:00 2001 From: Roy Du Date: Tue, 12 Jul 2022 12:32:28 -0600 Subject: [PATCH 1/7] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7f89b80..a965a25 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![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) -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. From 21fe1d4c017142b9f52ce5448b2f253c75381994 Mon Sep 17 00:00:00 2001 From: Roy Du Date: Tue, 12 Jul 2022 13:04:55 -0600 Subject: [PATCH 2/7] Create docker-sync.yml --- .github/workflows/docker-sync.yml | 51 +++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/docker-sync.yml diff --git a/.github/workflows/docker-sync.yml b/.github/workflows/docker-sync.yml new file mode 100644 index 0000000..b1b6b23 --- /dev/null +++ b/.github/workflows/docker-sync.yml @@ -0,0 +1,51 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# 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" ] + paths: + - 'README.md' + pull_request: + types: + - closed + branches: [ "master" ] + paths: + - 'README.md' + + # 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@master + + - 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 + + - name: Build the Docker image + run: | + docker build -t yoruio/invitarr:latest . + docker build -t yoruio/membarr:latest . + docker push yoruio/invitarr:latest + docker push yoruio/membarr:latest + From 69e7911c33eb6a6bd0445e2aeb0c8e04f22b4ce2 Mon Sep 17 00:00:00 2001 From: Roy Du Date: Tue, 12 Jul 2022 13:05:55 -0600 Subject: [PATCH 3/7] Update docker-sync.yml --- .github/workflows/docker-sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-sync.yml b/.github/workflows/docker-sync.yml index b1b6b23..0bcc3f6 100644 --- a/.github/workflows/docker-sync.yml +++ b/.github/workflows/docker-sync.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: CI +name: docker-sync # Controls when the workflow will run on: From d675523f2a0077e02a83ca7651c17f5f5f5899ef Mon Sep 17 00:00:00 2001 From: Roy Du Date: Tue, 12 Jul 2022 13:07:31 -0600 Subject: [PATCH 4/7] Update docker-sync.yml --- .github/workflows/docker-sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-sync.yml b/.github/workflows/docker-sync.yml index 0bcc3f6..0a4f470 100644 --- a/.github/workflows/docker-sync.yml +++ b/.github/workflows/docker-sync.yml @@ -29,7 +29,7 @@ jobs: # 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@master + - uses: actions/checkout@v3 - uses: meeDamian/sync-readme@v1.0.6 with: From 3650710c4277a0ccd845b20f39347a71ae8886db Mon Sep 17 00:00:00 2001 From: Roy Du Date: Tue, 12 Jul 2022 13:09:46 -0600 Subject: [PATCH 5/7] Update docker-sync.yml --- .github/workflows/docker-sync.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/docker-sync.yml b/.github/workflows/docker-sync.yml index 0a4f470..7906e99 100644 --- a/.github/workflows/docker-sync.yml +++ b/.github/workflows/docker-sync.yml @@ -7,14 +7,10 @@ on: # Triggers the workflow on push or pull request events but only for the "master" branch push: branches: [ "master" ] - paths: - - 'README.md' pull_request: types: - closed branches: [ "master" ] - paths: - - 'README.md' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -22,7 +18,7 @@ on: # 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: + Sync-Docker: # The type of runner that the job will run on runs-on: ubuntu-latest From 20aafc9acdeece5276ad0bcc9c6afde136529f30 Mon Sep 17 00:00:00 2001 From: Roy Du Date: Tue, 12 Jul 2022 13:20:43 -0600 Subject: [PATCH 6/7] Update docker-sync.yml --- .github/workflows/docker-sync.yml | 39 ++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker-sync.yml b/.github/workflows/docker-sync.yml index 7906e99..4aa83fd 100644 --- a/.github/workflows/docker-sync.yml +++ b/.github/workflows/docker-sync.yml @@ -18,7 +18,7 @@ on: # 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-Docker: + Sync-Readme: # The type of runner that the job will run on runs-on: ubuntu-latest @@ -36,12 +36,33 @@ jobs: with: pass: ${{ secrets.DOCKER_PASS }} slug: yoruio/invitarr - description: true - - - name: Build the Docker image - run: | - docker build -t yoruio/invitarr:latest . - docker build -t yoruio/membarr:latest . - docker push yoruio/invitarr:latest - docker push yoruio/membarr:latest + 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 From 3efd252fa2915c9f3b6d0a0226c1cee3ad87b499 Mon Sep 17 00:00:00 2001 From: Roy Du Date: Tue, 12 Jul 2022 15:02:55 -0600 Subject: [PATCH 7/7] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a965a25..b557a3a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ [![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) Membarr =================