kind: pipeline type: docker name: vue-admin trigger: branch: ci steps: - name: build-docker-image image: plugins/docker settings: username: from_secret: docker_reg_username password: from_secret: docker_reg_password repo: docker.zcj.plus/drone-ci/fe tags: latest registry: https://docker.zcj.plus # - name: prepare-deploy-file # image: apline # commands: # - echo -e "" - name: deploy image: docker/compose volumes: - name: dockersock path: /var/run/docker.sock commands: - docker-compose up -d - docker-compose logs -f volumes: - name: dockersock host: path: /var/run/docker