Use Windows-compatible registry image
@@ -14,8 +14,7 @@ jobs:
java-version: 11
- name: Set up Docker private registry
run: |
- docker run -d -p 5000:5000 --restart=always --name registry registry:2
- docker run -d -p 5001:5000 --restart=always --name secure_registry -v "$(pwd)"/src/functTest/resources/auth:/auth:rw -e "REGISTRY_AUTH=htpasswd" -e "REGISTRY_AUTH_HTPASSWD_REALM=Registry Realm" -e "REGISTRY_AUTH_HTPASSWD_PATH=/auth/htpasswd" registry:2
+ docker run -d -p 5000:5000 --restart=always --name registry stefanscherer/registry-windows:2.6.2
- name: Compilation
uses: eskatos/gradle-command-action@v1
with:
