feat(docker): do not run container as root #6
10
Makefile
10
Makefile
@ -21,11 +21,11 @@ docker-run:
|
|||||||
fake-sms:latest
|
fake-sms:latest
|
||||||
|
|
||||||
docker-release:
|
docker-release:
|
||||||
docker tag fake-sms:latest cadoles/fake-sms:latest
|
docker tag fake-sms:latest reg.cadoles.com/cadoles/fake-sms:latest
|
||||||
docker tag fake-sms:latest cadoles/fake-sms:$(DOCKER_DATE_TAG)
|
docker tag fake-sms:latest reg.cadoles.com/cadoles/fake-sms:$(DOCKER_DATE_TAG)
|
||||||
docker login
|
docker login reg.cadoles.com
|
||||||
docker push cadoles/fake-sms:latest
|
docker push reg.cadoles.com/cadoles/fake-sms:latest
|
||||||
docker push cadoles/fake-sms:$(DOCKER_DATE_TAG)
|
docker push reg.cadoles.com/cadoles/fake-sms:$(DOCKER_DATE_TAG)
|
||||||
|
|
||||||
test:
|
test:
|
||||||
go test -v -race ./...
|
go test -v -race ./...
|
||||||
|
Loading…
Reference in New Issue
Block a user