Skip to content

Commit

Permalink
Add image build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
enyachoke authored Oct 30, 2024
1 parent b382196 commit 7d2cf0a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build and Publish Docker Image

on:
push:
branches: [main]
release:
types: [published]

jobs:
docker-publish:
uses: mekomsolutions/shared-github-workflow/.github/workflows/docker-build-publish.yml@main
with:
download-artifacts: false
image-version: "latest"
image-name: "restic-compose-backup"
secrets:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_REGISTRY_USERNAME }}
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_REGISTRY_PASSWORD }}

0 comments on commit 7d2cf0a

Please sign in to comment.