GitLab Hugo Script Failure

It doesn’t fail on my local machine but I look at the docker jacket log for the gitlab version and it seems to fail.
It builds but there are errors which I assume that the script sees and says it fails and doesn’t deploy.

I am using the latest 18.1, I assume that is the issue. Is there a way to update it on GitLab or see the script to make my own?

  1. This seems to be a GitLab issue that you should ask them about.
  2. You’re not giving much information here, so anyone with a solution to your problem would have to be a psychic.

More info would have been helpful, but taking a wild guess here…

Check out
Supposedly using the basic alpine image and adding Hugo is a lot smaller (faster?) than using the publysher image also, for what that’s worth.

I did it that way, and used the appropriate variables for submodule updates, etc. in my .gitlab-ci.yml as follows (you’d obviously want to change command lines as appropriate):

image: alpine:latest

  GIT_DEPTH: "3"

  - apk update && apk add openssl
  - wget
  - echo "e8ba723c508e87912970f132534c64dc  hugo_0.18.1_Linux-64bit.tar.gz" | md5sum -c
  - tar xf hugo_0.18.1_Linux-64bit.tar.gz && cp ./hugo_0.18.1_linux_amd64/hugo_0.18.1_linux_amd64 /usr/bin
  - mv /usr/bin/hugo_0.18.1_linux_amd64 /usr/bin/hugo
  - hugo version

      - hugo version
      - hugo --verbose --buildDrafts --baseURL="/"
      - public
    - master