mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-01-26 09:53:30 +01:00
Update Registry to unpack new repo
This commit is contained in:
@@ -7,7 +7,6 @@ TARBALL=/nsm/docker-registry/docker/so-dockers-$VERSION.tar
|
||||
if [ -f "$TARBALL" ]; then
|
||||
cd /nsm/docker-registry/docker
|
||||
tar xvf so-dockers-$VERSION.tar
|
||||
rm $TARBALL
|
||||
else
|
||||
exit
|
||||
fi
|
||||
@@ -26,6 +26,16 @@ dockerregistryconf:
|
||||
- name: /opt/so/conf/docker-registry/etc/config.yml
|
||||
- source: salt://registry/etc/config.yml
|
||||
|
||||
# Copy the registry script
|
||||
dockerregistrybuild:
|
||||
file.managed:
|
||||
- name: /opt/so/conf/docker-registry/so-buildregistry
|
||||
- source: salt://registry/bin/so-buildregistry
|
||||
|
||||
dockerexpandregistry:
|
||||
cmd.run:
|
||||
- name: /opt/so/conf/docker-registry/so-buildregistry
|
||||
|
||||
# Install the registry container
|
||||
so-dockerregistry:
|
||||
docker_container.running:
|
||||
|
||||
Reference in New Issue
Block a user