Compare commits
5 Commits
0419a180e0
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
99af57e0ef
|
|||
|
bde1ce538e
|
|||
|
70d5448acd
|
|||
|
bff10b917a
|
|||
|
490c7e7313
|
@@ -47,7 +47,7 @@ jobs:
|
||||
docker build \
|
||||
--tag ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:latest-${{ matrix.arch }} \
|
||||
--build-arg HUGO_ARCH=${{ matrix.arch }} \
|
||||
--platform linux/${{ matrix.arch }} -f Dockerfile .
|
||||
--platform linux/${{ matrix.arch }} --no-cache -f Dockerfile .
|
||||
docker push ${{ env.REGISTRY }}/${{ env.REPOSITORY }}:latest-${{ matrix.arch }}
|
||||
|
||||
manifest:
|
||||
|
||||
@@ -61,4 +61,4 @@ jobs:
|
||||
token: ${{ secrets.TELEGRAM_TOKEN }}
|
||||
format: markdown
|
||||
message: |
|
||||
Found **${{ steps.vulncount.outputs.VULNCOUNT }}** vulnerabilities in `${{ github.repository }}`
|
||||
Found **${{ steps.vulncount.outputs.VULNCOUNT }}** vulnerabilities in `${{ env.REGISTRY }}/${{ env.REPOSITORY }}:latest`
|
||||
|
||||
@@ -8,7 +8,7 @@ RUN \
|
||||
apk --no-cache upgrade && \
|
||||
apk --no-cache add curl jq && \
|
||||
LATEST_RELEASE=$(curl -L -s -H 'Accept: application/json' https://github.com/gohugoio/hugo/releases/latest | jq --raw-output ".tag_name" | sed 's/^v//' ) && \
|
||||
LATEST_RELEASE=0.139.4 && \
|
||||
echo "Using hugo release: ${LATEST_RELEASE}" && \
|
||||
URL="https://github.com/gohugoio/hugo/releases/download/v${LATEST_RELEASE}/hugo_extended_${LATEST_RELEASE}_linux-${HUGO_ARCH}.tar.gz " && \
|
||||
echo "Downloading: ${URL}" && \
|
||||
wget "${URL}" -O - | tar xzv -C /tmp
|
||||
@@ -21,6 +21,6 @@ COPY --from=prep /tmp/hugo /usr/local/bin/hugo
|
||||
|
||||
RUN \
|
||||
apk --no-cache upgrade && \
|
||||
apk --no-cache add git gcompat libstdc++
|
||||
apk --no-cache add rclone git gcompat libstdc++
|
||||
|
||||
ENTRYPOINT [ "/usr/local/bin/hugo" ]
|
||||
|
||||
Reference in New Issue
Block a user