This commit is contained in:
@@ -11,13 +11,14 @@ steps:
|
||||
- go test ./...
|
||||
|
||||
- name: build docker image
|
||||
image: docker:24-dind
|
||||
image: docker:24
|
||||
privileged: true
|
||||
environment:
|
||||
DOCKER_HOST: tcp://localhost:2375
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
commands:
|
||||
- docker build -t link-shortener:latest .
|
||||
|
||||
|
||||
services:
|
||||
- name: redis
|
||||
image: redis:latest
|
||||
|
||||
Reference in New Issue
Block a user