diff --git a/.github/workflows/beta.yml b/.github/workflows/beta.yml index abe37d6..f9b61c3 100644 --- a/.github/workflows/beta.yml +++ b/.github/workflows/beta.yml @@ -62,3 +62,9 @@ jobs: no-cache: true platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 tags: mgoerentz/threadfin:${{ github.ref_name }} + + - name: Push image to GHCR + run: | + docker buildx imagetools create \ + --tag ghcr.io/marcelGoerentz/threadfin:${{ github.ref_name }} \ + mgoerentz/threadfin:${{ github.ref_name }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1594610..b083e6f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,4 +57,10 @@ jobs: push: true no-cache: true platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8 - tags: mgoerentz/threadfin:latest,mgoerentz/threadfin:${{ github.ref_name }} + tags: mgoerentz/threadfin:latest,mgoerentz/threadfin:${{ github.ref_name }},ghcr.io/marcelGoerentz/threadfin:latest,ghcr.io/marcelGoerentz/threadfin:${{ github.ref_name }} + - name: Push image to GHCR + run: | + docker buildx imagetools create \ + --tag ghcr.io/marcelGoerentz/threadfin:latest \ + --tag ghcr.io/marcelGoerentz/threadfin:${{ github.ref_name }} \ + mgoerentz/threadfin:${{ github.ref_name }} diff --git a/threadfin.go b/threadfin.go index b324fb7..efdf031 100644 --- a/threadfin.go +++ b/threadfin.go @@ -42,13 +42,13 @@ var GitHub = GitHubStruct{Branch: "Main", User: "marcelGoerentz", Repo: "Threadf const Name = "Threadfin" // Version : Version, die Build Nummer wird in der main func geparst. -const Version = "1.3.1-beta" +const Version = "1.3.2-beta" // DBVersion : Datanbank Version const DBVersion = "0.5.0" // APIVersion : API Version -const APIVersion = "1.3.1-beta" +const APIVersion = "1.3.2-beta" var homeDirectory = fmt.Sprintf("%s%s.%s%s", src.GetUserHomeDirectory(), string(os.PathSeparator), strings.ToLower(Name), string(os.PathSeparator)) var samplePath = fmt.Sprintf("%spath%sto%sthreadfin%s", string(os.PathSeparator), string(os.PathSeparator), string(os.PathSeparator), string(os.PathSeparator))