feat(docker): using reg.cadoles.com to publish image

This commit is contained in:
Philippe Caseiro 2024-02-26 15:20:26 +01:00
parent 725fea2387
commit 79836b065a
1 changed files with 5 additions and 5 deletions

View File

@ -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 ./...