Update docker-sync.yml
This commit is contained in:
39
.github/workflows/docker-sync.yml
vendored
39
.github/workflows/docker-sync.yml
vendored
@@ -18,7 +18,7 @@ on:
|
|||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
jobs:
|
jobs:
|
||||||
# This workflow contains a single job called "build"
|
# This workflow contains a single job called "build"
|
||||||
Sync-Docker:
|
Sync-Readme:
|
||||||
# The type of runner that the job will run on
|
# The type of runner that the job will run on
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
@@ -36,12 +36,33 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
pass: ${{ secrets.DOCKER_PASS }}
|
pass: ${{ secrets.DOCKER_PASS }}
|
||||||
slug: yoruio/invitarr
|
slug: yoruio/invitarr
|
||||||
description: true
|
description: true
|
||||||
|
|
||||||
- name: Build the Docker image
|
Push-Images:
|
||||||
run: |
|
runs-on: ubuntu-latest
|
||||||
docker build -t yoruio/invitarr:latest .
|
steps:
|
||||||
docker build -t yoruio/membarr:latest .
|
-
|
||||||
docker push yoruio/invitarr:latest
|
name: Set up QEMU
|
||||||
docker push yoruio/membarr:latest
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user