kind: pipeline name: default steps: - name: version image: alpine commands: - sed -i 's/module\.exports.*//' version.js - echo "module.exports = '$(date)';" >> version.js - name: docker build image: plugins/docker settings: repo: registry:5000/appreports registry: registry:5000 dockerfile: dockerfile insecure: true