diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d540940f70737200b8419cb361e774e887ffed99..31d22f45085c586aef2f3a1e6366debefecf0a65 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -145,7 +145,7 @@ package: - synker pull -b=1 # Tar up synker as well? - - cp /usr/local/bin/synker /var/lib/registry/synker + - cp /usr/local/bin/synker synker.yaml /var/lib/registry/ - tar -C /var/lib/registry -czvf $IMAGE_PKG . - tar -czvf $IMAGE_PKG /var/lib/registry diff --git a/scripts/package/synker.yaml b/scripts/package/synker.yaml index 1d8890288f47338191f476907bfee6b8a9168104..c76a0622d4095b9a874b7ef8ee4d86206331a867 100644 --- a/scripts/package/synker.yaml +++ b/scripts/package/synker.yaml @@ -14,6 +14,18 @@ options: quiet: false debug: info +# NOTE: destination configurations below are environment specific and should be modified to match your environment. +destination: + registry: + # Hostname of the destination registry to push to + hostname: p1-registry + # Port of the destination registry to push to + port: 5000 + + # + osChoice: linux + disablePolicyChecks: true + source: authFile: /root/.docker/config.json images: