This repository has been archived by the owner on Jun 8, 2024. It is now read-only.
Use reusable Docker Build & Push workflow #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Build & Push | |
on: | |
push: | |
paths-ignore: | |
- "**.md" | |
- "**/.gitignore" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
restic: | |
uses: thesilkky/workflows/.github/workflows/docker-build-push.yml@main | |
with: | |
image: thesilkky/restic | |
context: . | |
platforms: linux/amd64,linux/arm64 | |
secrets: | |
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | |
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} |