steps: build: when: event: [push, pull_request] image: docker.io/library/ubuntu:latest commands: - apt update - apt install -y ca-certificates curl golang - go get - go build - ./main volumes: - /var/run/docker.sock:/var/run/docker.sock