From 20aafc9acdeece5276ad0bcc9c6afde136529f30 Mon Sep 17 00:00:00 2001 From: Roy Du Date: Tue, 12 Jul 2022 13:20:43 -0600 Subject: [PATCH] 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