retypeapp / retype

Retype is an ✨ ultra-high-performance✨ static site generator that builds a website based on simple text files.
https://retype.com
Other
1.09k stars 207 forks source link

Retype License violation on build #712

Open siemendev opened 1 month ago

siemendev commented 1 month ago

I use a custom dockerfile to build a basic container that contains a retype generated static site.

When running docker build in my CI (GH Actions), i get the following error:

INPUT: /build
OUTPUT: /build/.docker-build
ERROR: Retype License violation.

When running docker build locally on the same dockerfile there are no issues.

Dockerfile:

FROM mcr.microsoft.com/dotnet/sdk:7.0 AS builder
WORKDIR /build
COPY . /build
RUN dotnet tool install retypeapp --tool-path /bin
RUN retype build --output .docker-build/

FROM httpd:latest
COPY --from=builder /build/.docker-build/ /usr/local/apache2/htdocs/docs/

I have 4-5 different plain text md files and I do not use pro features (i guess that would fail locally already since I do not have a license there either).

Any ideas on this?

geoffreymcgill commented 1 month ago

Likely related to issue #708. Please ensure you are using the latest v3.6.0 release.

siemendev commented 1 month ago

As you can see in the dockerfile, the version I'm using is the latest version available through dotnet tool installl. I have not been successful in building a custom docker image neither using dotnet, nor npm/yarn

In my case I could not use the npm/yarn packages, since I host on arm64 nodes and those are not build for arm64 (only the darwin version but I run linux). The published Docker Hub Image retypeapp/retype is no longer up to date and throws the following error:

This release of Retype has expired. Please update to the latest release. A Retype license is required to continue using this release.

Final solution: The only way I could get all of this running is Github Actions.

SinsinwarHunk commented 1 month ago

As you can see in the dockerfile, the version I'm using is the latest version available through dotnet tool installl. I have not been successful in building a custom docker image neither using dotnet, nor npm/yarn

In my case I could not use the npm/yarn packages, since I host on arm64 nodes and those are not build for arm64 (only the darwin version but I run linux). The published Docker Hub Image retypeapp/retype is no longer up to date and throws the following error:

This release of Retype has expired. Please update to the latest release. A Retype license is required to continue using this release.

Final solution: The only way I could get all of this running is Github Actions.

anyone have idea how to fix license error? I am also getting the same error after restarting the Docker container of retype however it was working well before server reboot.

ERROR: This release of Retype has expired. Please update to the latest release. A Retype license is required to continue using this release.