Skip to content

Fix build

Fix build #21

Workflow file for this run

name: Docker Image Release
on:
push:
branches:
- ci/docker-*
tags:
- '*'
jobs:
docker:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- id: meta
uses: docker/metadata-action@v5
with:
images: ananthakumaran/paisa
- uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- id: meta-hledger
uses: docker/metadata-action@v5
with:
images: ananthakumaran/paisa
flavor: |
latest=auto
prefix=
suffix=-hledger,onlatest=true
- uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
file: ./Dockerfile.hledger
push: true
tags: ${{ steps.meta-hledger.outputs.tags }}
labels: ${{ steps.meta-hledger.outputs.labels }}
- id: meta-beancount
uses: docker/metadata-action@v5
with:
images: ananthakumaran/paisa
flavor: |
latest=auto
prefix=
suffix=-beancount,onlatest=true
- uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
file: ./Dockerfile.beancount
push: true
tags: ${{ steps.meta-beancount.outputs.tags }}
labels: ${{ steps.meta-beancount.outputs.labels }}
- id: meta-all
uses: docker/metadata-action@v5
with:
images: ananthakumaran/paisa
flavor: |
latest=auto
prefix=
suffix=-all,onlatest=true
- uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
file: ./Dockerfile.all
push: true
tags: ${{ steps.meta-all.outputs.tags }}
labels: ${{ steps.meta-all.outputs.labels }}