Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
Use reusable Docker Build & Push workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSilkky committed Jul 23, 2023
1 parent c921414 commit 21fd839
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 90 deletions.
90 changes: 0 additions & 90 deletions .github/workflows/docker-build-push.yml

This file was deleted.

20 changes: 20 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Docker Build & Push

on:
push:
paths-ignore:
- "**.md"
- "/**.gitignore"
pull_request:
workflow_dispatch:

jobs:
logrotate:
uses: thesilkky/workflows/.github/workflows/docker-build-push.yml@main
with:
image: thesilkky/logrotate
context: .
platforms: linux/amd64,linux/arm64
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

0 comments on commit 21fd839

Please sign in to comment.