Refactor: rebranding (#34)

This commit is contained in:
Romain
2020-09-16 09:53:35 +02:00
committed by GitHub
parent 1ef68230de
commit 9378a1e1d2
4 changed files with 8 additions and 7 deletions

View File

@ -187,6 +187,7 @@
identification within third-party archives. identification within third-party archives.
Copyright [2015-2018] [Containous] Copyright [2015-2018] [Containous]
Copyright [2020] [Traefik Labs]
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.

View File

@ -11,10 +11,10 @@ build:
CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o whoami CGO_ENABLED=0 go build -a --installsuffix cgo --ldflags="-s" -o whoami
image: image:
docker build -t containous/whoami . docker build -t traefik/whoami .
check: check:
golangci-lint run golangci-lint run
publish-images: publish-images:
seihon publish -v "$(TAG_NAME)" -v "latest" --image-name containous/whoami --dry-run=false seihon publish -v "$(TAG_NAME)" -v "latest" --image-name traefik/whoami --dry-run=false

View File

@ -1,7 +1,7 @@
# whoami # whoami
[![Docker Pulls](https://img.shields.io/docker/pulls/containous/whoami.svg)](https://hub.docker.com/r/containous/whoami/) [![Docker Pulls](https://img.shields.io/docker/pulls/traefik/whoami.svg)](https://hub.docker.com/r/traefik/whoami/)
[![Build Status](https://travis-ci.com/containous/whoami.svg?branch=master)](https://travis-ci.com/containous/whoami) [![Build Status](https://travis-ci.com/traefik/whoami.svg?branch=master)](https://travis-ci.com/traefik/whoami)
Tiny Go webserver that prints os information and HTTP request to output Tiny Go webserver that prints os information and HTTP request to output
@ -28,7 +28,7 @@ Tiny Go webserver that prints os information and HTTP request to output
## Examples ## Examples
```console ```console
$ docker run -d -P --name iamfoo containous/whoami $ docker run -d -P --name iamfoo traefik/whoami
$ docker inspect --format '{{ .NetworkSettings.Ports }}' iamfoo $ docker inspect --format '{{ .NetworkSettings.Ports }}' iamfoo
map[80/tcp:[{0.0.0.0 32769}]] map[80/tcp:[{0.0.0.0 32769}]]
@ -66,5 +66,5 @@ $ curl -v http://localhost:80/health
``` ```
```console ```console
docker run -d -P -v ./certs:/certs --name iamfoo containous/whoami --cert /certs/cert.cer --key /certs/key.key docker run -d -P -v ./certs:/certs --name iamfoo traefik/whoami --cert /certs/cert.cer --key /certs/key.key
``` ```

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/containous/whoami module github.com/traefik/whoami
go 1.13 go 1.13