Skip to content

Commit

Permalink
Publish v0.132.0. [release] (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelicianoTech authored Aug 12, 2024
1 parent 2751791 commit 2e52f70
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 4 deletions.
28 changes: 28 additions & 0 deletions 0.132/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# vim:set ft=dockerfile:

# Base off of CircleCI's Go image
FROM cimg/go:1.22

LABEL maintainer="Ricardo N Feliciano <Ricardo@Feliciano.Tech>"

ENV HUGO_VER 0.132.0
ENV HUGO_DOWNLOAD_URL https://github.com/gohugoio/hugo/releases/download/v${HUGO_VER}/hugo_extended_${HUGO_VER}_Linux-64bit.tar.gz

# Install HTML Proofer - eventually to be replaced with non-Ruby alternative
RUN sudo apt-get update && sudo apt-get install -y \
# Needed for AsciiDoc support in Hugo \
asciidoctor \
libffi-dev \
rsync \
ruby-full \
# Needed for the Nokogiri gem \
zlib1g-dev && \
sudo apt-get clean && \
sudo gem install html-proofer --no-document

RUN curl -L $HUGO_DOWNLOAD_URL | tar xzv hugo && \
sudo mv hugo /usr/bin/hugo

CMD ["htmlproofer", "--help"]

EXPOSE 1313
2 changes: 1 addition & 1 deletion GEN-CHECK
Original file line number Diff line number Diff line change
@@ -1 +1 @@
GEN_CHECK=(v0.131.0)
GEN_CHECK=(v0.132.0)
2 changes: 1 addition & 1 deletion build-images.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
# Do not edit by hand; please use build scripts/templates to make changes

docker build --file 0.131/Dockerfile -t hubci/hugo:0.131.0 -t hubci/hugo:0.131 --platform linux/amd64 .
docker build --file 0.132/Dockerfile -t hubci/hugo:0.132.0 -t hubci/hugo:0.132 --platform linux/amd64 .
4 changes: 2 additions & 2 deletions push-images.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
# Do not edit by hand; please use build scripts/templates to make changes
docker push hubci/hugo:0.131
docker push hubci/hugo:0.131.0
docker push hubci/hugo:0.132
docker push hubci/hugo:0.132.0

0 comments on commit 2e52f70

Please sign in to comment.