Skip to content

Commit

Permalink
Fix image build context
Browse files Browse the repository at this point in the history
  • Loading branch information
enyachoke committed Oct 31, 2024
1 parent 7d2cf0a commit 716066d
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,25 @@ on:
types: [published]

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

0 comments on commit 716066d

Please sign in to comment.