Skip to content

Commit

Permalink
Fix docker tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ananthakumaran committed Aug 26, 2024
1 parent f2988b8 commit 168f476
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 19 deletions.
36 changes: 30 additions & 6 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,27 +29,51 @@ jobs:
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.outputs.tags }}-hledger
labels: ${{ steps.meta.outputs.labels }}
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.outputs.tags }}-beancount
labels: ${{ steps.meta.outputs.labels }}
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.outputs.tags }}-all
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta-all.outputs.tags }}
labels: ${{ steps.meta-all.outputs.labels }}
6 changes: 3 additions & 3 deletions .github/workflows/linux-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ jobs:
wails doctor
wails build -tags webkit2_40
cp build/bin/Paisa build/linux/usr/local/bin
cp -r build/linux paisa_0.6.7_amd64
dpkg --build paisa_0.6.7_amd64
cp -r build/linux paisa_0.6.8_amd64
dpkg --build paisa_0.6.8_amd64
cd ..
mv desktop/paisa_0.6.7_amd64.deb paisa-app-linux-amd64.deb
mv desktop/paisa_0.6.8_amd64.deb paisa-app-linux-amd64.deb
- name: Release
uses: softprops/action-gh-release@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG

### 0.6.7 (2024-08-26)
### 0.6.8 (2024-08-26)

* Add [docker image variant](https://github.com/ananthakumaran/paisa/pull/274) for hledger and beancount
* Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.all
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/ananthakumaran/paisa:latest
FROM docker.io/ananthakumaran/paisa:v0.6.8

RUN apk --no-cache add hledger beancount

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.beancount
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/ananthakumaran/paisa:latest
FROM docker.io/ananthakumaran/paisa:v0.6.8

RUN apk --no-cache add beancount

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.hledger
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/ananthakumaran/paisa:latest
FROM docker.io/ananthakumaran/paisa:v0.6.8

RUN apk --no-cache add hledger

Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var versionCmd = &cobra.Command{
Use: "version",
Short: "Print the version information",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("Version:", "0.6.7")
fmt.Println("Version:", "0.6.8")
},
}

Expand Down
2 changes: 1 addition & 1 deletion desktop/build/linux/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: paisa
Version: 0.6.7
Version: 0.6.8
Section: misc
Priority: optional
Architecture: amd64
Expand Down
2 changes: 1 addition & 1 deletion desktop/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func main() {
Mac: &mac.Options{
About: &mac.AboutInfo{
Title: "Paisa",
Message: "Version 0.6.7 \nCopyright © 2022 - 2024 \nAnantha Kumaran",
Message: "Version 0.6.8 \nCopyright © 2022 - 2024 \nAnantha Kumaran",
Icon: icon,
},
},
Expand Down
2 changes: 1 addition & 1 deletion desktop/wails.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Info": {
"companyName": "Paisa",
"productName": "Paisa",
"productVersion": "0.6.7",
"productVersion": "0.6.8",
"copyright": "Copyright © 2022 - 2024 Anantha Kumaran",
"comments": "Personal finance manager"
}
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
packages.default = pkgs.buildGoModule {
pname = "paisa-cli";
meta.mainProgram = "paisa";
version = "0.6.7";
version = "0.6.8";

src = ./.;

Expand Down
2 changes: 1 addition & 1 deletion src/routes/(app)/more/about/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<div><Logo size={128} /></div>
<div class="is-size-3 is-primary-color">Paisa</div>
<div>
Version: <b>0.6.7</b>
Version: <b>0.6.8</b>
</div>
</div>

Expand Down

0 comments on commit 168f476

Please sign in to comment.