kind: pipeline type: docker name: default steps: - name: Build DockerImage image: docker volumes: - name: docker_sock path: /var/run/docker.sock commands: - docker build --no-cache -t gulp-node:${DRONE_COMMIT} -f Scripte/Dockerfile . - name: Build Website image: gulp-node:${DRONE_COMMIT} commands: - npm install - gulp - zip public.zip -r dist/* - name: Upload Artifacts image: plugins/gitea-release settings: base_url: https://git.chrosey.de api_key: from_secret: gitea_token files: - public.zip when: event: tag volumes: - name: docker_sock host: path: /var/run/docker.sock