feat(docker): using reg.cadoles.com to publish image
This commit is contained in:
parent
725fea2387
commit
79836b065a
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