Compare commits
No commits in common. "d8609ad5e6c30eff5b6dcb4fb9e9f96dcd2aa4b4" and "f9492cbfc85b9a6e3c0038b5e39b94cb3c0e260f" have entirely different histories.
d8609ad5e6
...
f9492cbfc8
2 changed files with 16 additions and 6 deletions
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
|
@ -23,9 +23,9 @@ jobs:
|
||||||
|
|
||||||
node-version:
|
node-version:
|
||||||
[
|
[
|
||||||
"20.9.0",
|
"20.0.0",
|
||||||
"21.7.3",
|
"21.0.0",
|
||||||
"22.4.1"
|
"22.0.0"
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
16
Dockerfile
16
Dockerfile
|
@ -7,12 +7,22 @@ RUN apk add --update --no-cache libssl3 ca-certificates openssl-dev curl ninja p
|
||||||
|
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
|
|
||||||
RUN curl -4 -sL -o hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz
|
RUN echo "Downloading Hugo..." && \
|
||||||
|
curl -4 -sL -o hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz && \
|
||||||
|
echo "Downloaded Hugo successfully" || \
|
||||||
|
echo "Error downloading Hugo: exit code $(echo $?)" && \
|
||||||
|
exit 1
|
||||||
|
|
||||||
RUN tar -xzf "hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz"
|
RUN tar -xzf "hugo_extended_${HUGO_VERSION}_linux-amd64.tar.gz" && \
|
||||||
|
echo "Extracted Hugo successfully" || \
|
||||||
|
echo "Error extracting Hugo: exit code $(echo $?)" && \
|
||||||
|
exit 1
|
||||||
|
|
||||||
RUN cp ./hugo /usr/bin/hugo && \
|
RUN cp ./hugo /usr/bin/hugo && \
|
||||||
hugo version
|
hugo version && \
|
||||||
|
echo "Hugo installed and configured successfully" || \
|
||||||
|
echo "Error installing Hugo: exit code $(echo $?)" && \
|
||||||
|
exit 1
|
||||||
|
|
||||||
RUN curl -4 -sL -o node-v${NODE_VERSION}.tar.gz https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}.tar.gz && \
|
RUN curl -4 -sL -o node-v${NODE_VERSION}.tar.gz https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}.tar.gz && \
|
||||||
tar -xzf "node-v${NODE_VERSION}.tar.gz" && \
|
tar -xzf "node-v${NODE_VERSION}.tar.gz" && \
|
||||||
|
|
Loading…
Add table
Reference in a new issue