kind: pipeline name: hugo type: docker platform: os: linux arch: arm64 steps: - name: submodules image: alpine/git commands: - git submodule update --init --recursive - name: build image: plugins/hugo settings: hugo_version: 0.69.0 theme: ameida-cv extended: true validate: true config: config.toml content: content output: ./public commands: - apk add libc6-compat libstdc++ - /bin/hugo - name: build-and-push-image image: plugins/docker user: gregan volumes: - name: hugosource path: "/src" - name: dockersock path: "/var/run/docker.sock" # Mandatory settings: debug: true username: from_secret: REGISTRY_USER password: from_secret: REGISTRY_PASSWORD registry: "dockerregistry.legaragenumerique.fr" repo: "hugo-site" tags: 0.1 dockerfile: ./Dockerfile trigger: branch: - master