kind: pipeline type: docker name: build-docker-image steps: - name: build image: docker:20.10.24-cli volumes: - name: dockersock path: /var/run/docker.sock commands: - apk add --no-cache make bash git - make build - make push volumes: - name: dockersock host: path: /var/run/docker.sock trigger: event: - push - pull_request