kind: pipeline type: docker name: default steps: - name: go test image: golang:1.25-alpine3.21 commands: - apk add --no-cache git curl - go mod tidy - go test ./... - name: build and push image: plugins/docker settings: repo: registry:5000/link-shortener insecure: true tags: latest volumes: - name: dockersock path: /var/run/docker.sock services: - name: redis image: redis:latest volumes: - name: dockersock host: path: /var/run/docker.sock trigger: branch: - main