You've already forked hugo-docker
mirror of
https://github.com/jakejarvis/hugo-docker.git
synced 2025-07-02 01:06:41 -04:00
Compare commits
39 Commits
v0.112.3
...
renovate/a
Author | SHA1 | Date | |
---|---|---|---|
f2f3e11814 | |||
40ca2c3269 | |||
9733fc0fa6 | |||
f4114734b1 | |||
fee04015be | |||
f824746b8c | |||
f9610724d5 | |||
fdd2072620 | |||
165a3ca3f7 | |||
a2b583f385 | |||
33c0ae7566 | |||
061c644f39 | |||
748017bd04 | |||
9474a6a64d | |||
4d5ec5f93f | |||
49de69b30e | |||
1d30ce8bcb | |||
b2ab6f0041 | |||
3758f9cad1 | |||
7f24c16703 | |||
c8d6cbb13a | |||
16b4f6cdd4 | |||
06258ba98b | |||
846307e4c8 | |||
974cf9f787 | |||
5169e3ddfa | |||
65507b8300 | |||
4a14b72e5b | |||
8305e01188 | |||
81a93ea44d | |||
d4dab75ac4 | |||
c8c26d1fb7 | |||
ff4c4d46af | |||
e2ba706deb
|
|||
59a94508dc
|
|||
421a334f8c
|
|||
21d629e15c
|
|||
391c858bed
|
|||
ba3a3969b7 |
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -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: .
|
||||
@ -81,7 +81,7 @@ jobs:
|
||||
run: echo ${{ steps.build.outputs.digest }}
|
||||
|
||||
- name: Update hub description
|
||||
uses: peter-evans/dockerhub-description@v3
|
||||
uses: peter-evans/dockerhub-description@v4
|
||||
if: ${{ github.ref == 'refs/heads/master' }}
|
||||
with:
|
||||
username: jakejarvis
|
||||
|
@ -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.3
|
||||
ARG HUGO_VERSION=0.124.1
|
||||
|
||||
# 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.22-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.21
|
||||
|
||||
# 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.13
|
||||
# https://github.com/sass/dart-sass-embedded/releases
|
||||
# renovate: datasource=github-releases depName=sass/dart-sass-embedded
|
||||
ARG DART_SASS_VERSION=1.62.1
|
||||
|
@ -15,5 +15,13 @@
|
||||
],
|
||||
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}"
|
||||
}
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchFiles": [
|
||||
"^Dockerfile$"
|
||||
],
|
||||
"extractVersion": "^v(?<version>.*)$"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user