initial commit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-09-06 17:06:36 +02:00
parent 16fa7ce719
commit 19825d15c8
3 changed files with 14 additions and 3 deletions

View File

@ -10,7 +10,7 @@ RUN apk add --no-cache \
build-base \
libc6-compat
RUN HUGO=$(curl -Is https://github.com/gohugoio/hugo/releases/latest | grep -Fi Location | sed -E 's/.*tag\/v(.*)/\1/g;' |xargs ) && \
RUN HUGO=$(curl -s "https://api.github.com/repos/gohugoio/hugo/releases/latest" | awk -F '"' '/tag_name/{print $4}'| sed -E 's/v//g;') && \
export HUGO && \
mkdir -p /usr/local/src && \
cd /usr/local/src && \
@ -21,4 +21,5 @@ RUN HUGO=$(curl -Is https://github.com/gohugoio/hugo/releases/latest | grep
WORKDIR /src
EXPOSE 1313
EXPOSE 1313