Skip to content

Commit

Permalink
build: provide more images
Browse files Browse the repository at this point in the history
  • Loading branch information
azzamsa committed Aug 20, 2024
1 parent e171d2d commit e69b0a9
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,27 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
file: ./Dockerfile.hledger
push: true
tags: ${{ steps.meta.outputs.tags }}-hledger
labels: ${{ steps.meta.outputs.labels }}
- uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
file: ./Dockerfile.beancount
push: true
tags: ${{ steps.meta.outputs.tags }}-beancount
labels: ${{ steps.meta.outputs.labels }}
- uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
file: ./Dockerfile.all
push: true
tags: ${{ steps.meta.outputs.tags }}-all
labels: ${{ steps.meta.outputs.labels }}
7 changes: 7 additions & 0 deletions Dockerfile.all
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM docker.io/ananthakumaran/paisa:latest

RUN apk --no-cache add hledger beancount

WORKDIR /root/

CMD ["paisa", "serve"]
7 changes: 7 additions & 0 deletions Dockerfile.beancount
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM docker.io/ananthakumaran/paisa:latest

RUN apk --no-cache add beancount

WORKDIR /root/

CMD ["paisa", "serve"]
7 changes: 7 additions & 0 deletions Dockerfile.hledger
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM docker.io/ananthakumaran/paisa:latest

RUN apk --no-cache add hledger

WORKDIR /root/

CMD ["paisa", "serve"]

0 comments on commit e69b0a9

Please sign in to comment.