release 0.6.1 -- with no breaking changes, hopefully

pull/73/head 0.6.1
Ricardo Pardini 2020-12-02 15:11:00 +01:00
parent 536f0fc8a0
commit c52c7d3741
3 changed files with 8 additions and 8 deletions

View File

@ -63,7 +63,7 @@ for this to work it requires inserting a root CA certificate into system trusted
## master/:latest is unstable/beta ## master/:latest is unstable/beta
- `:latest` and `:latest-debug` Docker tag is unstable, built from master, and amd64-only - `:latest` and `:latest-debug` Docker tag is unstable, built from master, and amd64-only
- Production/stable is `0.6.0`, see [0.6.0 tag on Github](https://github.com/rpardini/docker-registry-proxy/tree/0.6.0) - this image is multi-arch amd64/arm64 - Production/stable is `0.6.1`, see [0.6.1 tag on Github](https://github.com/rpardini/docker-registry-proxy/tree/0.6.1) - this image is multi-arch amd64/arm64
- The previous version is `0.5.0`, without any manifest caching, see [0.5.0 tag on Github](https://github.com/rpardini/docker-registry-proxy/tree/0.5.0) - this image is multi-arch amd64/arm64 - The previous version is `0.5.0`, without any manifest caching, see [0.5.0 tag on Github](https://github.com/rpardini/docker-registry-proxy/tree/0.5.0) - this image is multi-arch amd64/arm64
## Also hosted on GitHub Container Registry (ghcr.io) ## Also hosted on GitHub Container Registry (ghcr.io)
@ -93,7 +93,7 @@ docker run --rm --name docker_registry_proxy -it \
-p 0.0.0.0:3128:3128 -e ENABLE_MANIFEST_CACHE=true \ -p 0.0.0.0:3128:3128 -e ENABLE_MANIFEST_CACHE=true \
-v $(pwd)/docker_mirror_cache:/docker_mirror_cache \ -v $(pwd)/docker_mirror_cache:/docker_mirror_cache \
-v $(pwd)/docker_mirror_certs:/ca \ -v $(pwd)/docker_mirror_certs:/ca \
rpardini/docker-registry-proxy:0.6.0 rpardini/docker-registry-proxy:0.6.1
``` ```
### DockerHub auth ### DockerHub auth
@ -109,7 +109,7 @@ docker run --rm --name docker_registry_proxy -it \
-v $(pwd)/docker_mirror_certs:/ca \ -v $(pwd)/docker_mirror_certs:/ca \
-e REGISTRIES="k8s.gcr.io gcr.io quay.io your.own.registry another.public.registry" \ -e REGISTRIES="k8s.gcr.io gcr.io quay.io your.own.registry another.public.registry" \
-e AUTH_REGISTRIES="auth.docker.io:dockerhub_username:dockerhub_password your.own.registry:username:password" \ -e AUTH_REGISTRIES="auth.docker.io:dockerhub_username:dockerhub_password your.own.registry:username:password" \
rpardini/docker-registry-proxy:0.6.0 rpardini/docker-registry-proxy:0.6.1
``` ```
### Simple registries auth (HTTP Basic auth) ### Simple registries auth (HTTP Basic auth)
@ -137,7 +137,7 @@ docker run --rm --name docker_registry_proxy -it \
-v $(pwd)/docker_mirror_certs:/ca \ -v $(pwd)/docker_mirror_certs:/ca \
-e REGISTRIES="reg.example.com git.example.com" \ -e REGISTRIES="reg.example.com git.example.com" \
-e AUTH_REGISTRIES="git.example.com:USER:PASSWORD" \ -e AUTH_REGISTRIES="git.example.com:USER:PASSWORD" \
rpardini/docker-registry-proxy:0.6.0 rpardini/docker-registry-proxy:0.6.1
``` ```
### Google Container Registry (GCR) auth ### Google Container Registry (GCR) auth
@ -160,7 +160,7 @@ docker run --rm --name docker_registry_proxy -it \
-e AUTH_REGISTRIES_DELIMITER=";;;" \ -e AUTH_REGISTRIES_DELIMITER=";;;" \
-e AUTH_REGISTRY_DELIMITER=":::" \ -e AUTH_REGISTRY_DELIMITER=":::" \
-e AUTH_REGISTRIES="gcr.io:::_json_key:::$(cat servicekey.json);;;auth.docker.io:::dockerhub_username:::dockerhub_password" \ -e AUTH_REGISTRIES="gcr.io:::_json_key:::$(cat servicekey.json);;;auth.docker.io:::dockerhub_username:::dockerhub_password" \
rpardini/docker-registry-proxy:0.6.0 rpardini/docker-registry-proxy:0.6.1
``` ```
## Configuring the Docker clients using Docker Desktop for Mac ## Configuring the Docker clients using Docker Desktop for Mac
@ -223,7 +223,7 @@ docker run --rm --name docker_registry_proxy -it
-p 0.0.0.0:3128:3128 -e ENABLE_MANIFEST_CACHE=true \ -p 0.0.0.0:3128:3128 -e ENABLE_MANIFEST_CACHE=true \
-v $(pwd)/docker_mirror_cache:/docker_mirror_cache \ -v $(pwd)/docker_mirror_cache:/docker_mirror_cache \
-v $(pwd)/docker_mirror_certs:/ca \ -v $(pwd)/docker_mirror_certs:/ca \
rpardini/docker-registry-proxy:0.6.0-debug rpardini/docker-registry-proxy:0.6.1-debug
``` ```
- `DEBUG=true` enables the mitmweb proxy between Docker clients and the caching layer, accessible on port 8081 - `DEBUG=true` enables the mitmweb proxy between Docker clients and the caching layer, accessible on port 8081

View File

@ -2,7 +2,7 @@ version: '3.7'
services: services:
docker_registry_proxy: docker_registry_proxy:
image: rpardini/docker-registry-proxy:0.6.0 # Check and make sure this is the last released version image: rpardini/docker-registry-proxy:0.6.1 # Check and make sure this is the last released version
env_file: # This contains REGISTRIES and AUTH_REGISTRIES env_file: # This contains REGISTRIES and AUTH_REGISTRIES
- ./secrets.env - ./secrets.env
environment: environment:

View File

@ -19,7 +19,7 @@ spec:
serviceAccountName: default serviceAccountName: default
containers: containers:
- name: docker-registry-proxy - name: docker-registry-proxy
image: ghcr.io/rpardini/docker-registry-proxy:0.6.0 image: ghcr.io/rpardini/docker-registry-proxy:0.6.1
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env: env:
- name: ENABLE_MANIFEST_CACHE - name: ENABLE_MANIFEST_CACHE