Set up Docker private registry
@@ -12,6 +12,10 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 8
+ - 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
- name: Compilation
uses: eskatos/gradle-command-action@v1
with:
