Add rsync docker image

This commit is contained in:
Ajay
2022-05-06 14:34:11 -04:00
parent d8395163b9
commit ff197d2985
3 changed files with 17 additions and 1 deletions

View File

@@ -9,6 +9,9 @@ on:
username:
required: true
type: string
folder:
required: true
type: string
secrets:
GH_TOKEN:
required: true
@@ -44,7 +47,7 @@ jobs:
- name: push
uses: docker/build-push-action@v2
with:
context: .
context: ${{ inputs.folder }}
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}

View File

@@ -11,5 +11,13 @@ jobs:
with:
name: "sb-server"
username: "ajayyy"
folder: "."
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ./.github/workflows/docker-build.yml
with:
name: "rsync-host"
username: "ajayyy"
folder: "./rsync"
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}