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
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user