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 volumes: - name: hugosource path: "/src" - name: dockersock path: "/var/run/docker.sock" # Mandatory settings: username: LeGarage password: from_secret: REGISTRY_PASSWORD # Configure the secret in the Drone repository setting repo: / tags: 0.0.1 dockerfile: ./build/Dockerfile # Where the Dockerfile is located in your git repository trigger: branch: - master