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