1
mirror of https://github.com/jakejarvis/hugo-docker.git synced 2025-07-02 01:06:41 -04:00

Compare commits

...

26 Commits

Author SHA1 Message Date
42de4d2c48 fix: Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6152404
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6152404
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6160000
- https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6160000
2024-01-25 06:44:16 +00:00
49de69b30e Update actions/cache action to v4 2024-01-17 19:11:51 +00:00
1d30ce8bcb Update dependency jgm/pandoc to v3.1.11 2023-12-16 10:19:55 +00:00
b2ab6f0041 Update dependency jgm/pandoc to v3.1.10 2023-12-13 07:17:49 +00:00
3758f9cad1 Update dependency jgm/pandoc to v3.1.9 2023-10-28 03:19:15 +00:00
7f24c16703 Update actions/checkout digest to b4ffde6 2023-10-19 15:01:46 +00:00
c8d6cbb13a Update actions/checkout digest to 8ade135 2023-09-22 23:00:54 +00:00
16b4f6cdd4 Update docker/setup-qemu-action action to v3 2023-09-12 18:26:44 +00:00
06258ba98b Update docker/setup-buildx-action action to v3 2023-09-12 16:00:43 +00:00
846307e4c8 Update docker/login-action action to v3 2023-09-12 13:38:05 +00:00
974cf9f787 Update docker/build-push-action action to v5 2023-09-12 11:01:01 +00:00
5169e3ddfa Update dependency jgm/pandoc to v3.1.8 2023-09-09 21:02:29 +00:00
65507b8300 Update actions/checkout action to v4 2023-09-04 15:32:54 +00:00
4a14b72e5b Update golang Docker tag to v1.21 2023-09-01 11:36:20 +00:00
8305e01188 Update dependency jgm/pandoc to v3.1.7 2023-09-01 00:24:10 +00:00
81a93ea44d Update dependency jgm/pandoc to v3.1.6 2023-07-21 19:49:13 +00:00
d4dab75ac4 Update dependency jgm/pandoc to v3.1.5 2023-07-07 23:18:29 +00:00
c8c26d1fb7 Update dependency jgm/pandoc to v3.1.4 2023-06-25 03:55:13 +00:00
ff4c4d46af Update dependency jgm/pandoc to v3.1.3 2023-06-07 09:36:50 +00:00
e2ba706deb Hugo v0.113.0 2023-06-06 11:15:42 -04:00
59a94508dc Hugo v0.112.7 2023-06-06 11:15:22 -04:00
421a334f8c Hugo v0.112.6 2023-06-06 11:15:15 -04:00
21d629e15c Hugo v0.112.5 2023-06-06 11:14:48 -04:00
391c858bed Hugo v0.112.4 2023-06-06 11:13:23 -04:00
ba3a3969b7 Update renovate.json 2023-05-25 18:27:56 -04:00
af6f3b8139 Hugo v0.112.3 2023-05-25 16:36:13 -04:00
3 changed files with 19 additions and 11 deletions

View File

@ -24,34 +24,34 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: ${{ github.ref == 'refs/heads/master' }}
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: jakejarvis
password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Login to GitHub Container Registry
if: ${{ github.ref == 'refs/heads/master' }}
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_PAT }}
- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
@ -66,7 +66,7 @@ jobs:
- name: Build and push
id: build
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
builder: ${{ steps.buildx.outputs.name }}
context: .

View File

@ -1,6 +1,6 @@
# the following version can be overridden at image build time with --build-arg
# renovate: datasource=github-releases depName=gohugoio/hugo
ARG HUGO_VERSION=0.112.2
ARG HUGO_VERSION=0.113.0
# remove/comment the following line completely to compile vanilla Hugo:
ARG HUGO_BUILD_TAGS=extended
@ -8,7 +8,7 @@ ARG HUGO_BUILD_TAGS=extended
# ---
# Hugo >= v0.81.0 requires Go 1.16+ to build
FROM golang:1.20-alpine3.18 AS build
FROM golang:1.21-alpine3.18 AS build
# renew global args from above
# https://docs.docker.com/engine/reference/builder/#scope
@ -47,13 +47,13 @@ RUN go install github.com/yaegashi/muslstack@latest && \
# ---
FROM alpine:3.18
FROM alpine:3
# renew global args from above & pin any dependency versions
ARG HUGO_VERSION
# https://github.com/jgm/pandoc/releases
# renovate: datasource=github-releases depName=jgm/pandoc
ARG PANDOC_VERSION=3.1.2
ARG PANDOC_VERSION=3.1.11
# https://github.com/sass/dart-sass-embedded/releases
# renovate: datasource=github-releases depName=sass/dart-sass-embedded
ARG DART_SASS_VERSION=1.62.1

View File

@ -15,5 +15,13 @@
],
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
}
],
"packageRules": [
{
"matchFiles": [
"^Dockerfile$"
],
"extractVersion": "^v(?<version>.*)$"
}
]
}