Skip to content

docker compose example #2

docker compose example

docker compose example #2

Workflow file for this run

name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
services:
dind:
image: docker:23.0-rc-dind-rootless
ports:
- 2375:2375
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
- name: Test with Docker
run: go test -v ./...