diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3aaee6a..0cfdac8 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -5,6 +5,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Build run: docker build -t decred/dcrbounty:$(date +%s) . diff --git a/Dockerfile b/Dockerfile index a954284..db21e66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ # Build image -FROM alpine:3.18 +FROM alpine:latest ARG HUGO_BASEURL -ENV HUGO_BASEURL ${HUGO_BASEURL:-https://bounty.decred.org} -ENV HUGO_VERSION 0.117.0 +ENV HUGO_BASEURL ${HUGO_BASEURL:-https://bounty.decred.org/} +ENV HUGO_VERSION 0.134.0 LABEL description="gohugo build" LABEL version="1.0" @@ -23,7 +23,7 @@ COPY ./ /root/ RUN bin/build-hugo.sh # Serve image (stable nginx version) -FROM nginx:1.24-alpine +FROM nginx:1.26-alpine LABEL description="dcrbounty server" LABEL version="1.0" diff --git a/LICENSE b/LICENSE index fb71187..cd8ce25 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ ISC License -Copyright (c) 2018-2023 The Decred developers +Copyright (c) 2018-2024 The Decred developers Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above diff --git a/bin/watch.sh b/bin/watch.sh index a8b646c..f33e104 100755 --- a/bin/watch.sh +++ b/bin/watch.sh @@ -16,5 +16,5 @@ hugo server \ --buildDrafts \ --disableFastRender \ --source src \ - --baseURL http://localhost:1313 + --baseURL http://localhost:1313/ diff --git a/src/layouts/partials/footer.html b/src/layouts/partials/footer.html index 3255888..5384f31 100644 --- a/src/layouts/partials/footer.html +++ b/src/layouts/partials/footer.html @@ -8,7 +8,7 @@ {{ $options := (dict "targetPath" "optinal-style.css" "outputStyle" "compressed" "enableSourceMap" true) }} -{{ $style := resources.Get "scss/optional/main.scss" | resources.ToCSS $options | resources.Fingerprint }} +{{ $style := resources.Get "scss/optional/main.scss" | css.Sass $options | resources.Fingerprint }} diff --git a/src/layouts/partials/head.html b/src/layouts/partials/head.html index e05858c..007ab36 100644 --- a/src/layouts/partials/head.html +++ b/src/layouts/partials/head.html @@ -15,7 +15,7 @@ {{ end }} {{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" true) }} - {{ $style := resources.Get "scss/critical/main.scss" | resources.ToCSS $options | resources.Fingerprint }} + {{ $style := resources.Get "scss/critical/main.scss" | css.Sass $options | resources.Fingerprint }} {{ $favicon := resources.Get "img/favicon.ico" }}