mirror of
https://github.com/containers/skopeo.git
synced 2025-06-04 20:49:48 +00:00
add sigstore default configuration
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
ce42c70d4c
commit
012f89d16b
4
Makefile
4
Makefile
@ -7,6 +7,7 @@ INSTALLDIR=${PREFIX}/bin
|
|||||||
MANINSTALLDIR=${PREFIX}/share/man
|
MANINSTALLDIR=${PREFIX}/share/man
|
||||||
CONTAINERSSYSCONFIGDIR=${DESTDIR}/etc/containers
|
CONTAINERSSYSCONFIGDIR=${DESTDIR}/etc/containers
|
||||||
REGISTRIESDDIR=${CONTAINERSSYSCONFIGDIR}/registries.d
|
REGISTRIESDDIR=${CONTAINERSSYSCONFIGDIR}/registries.d
|
||||||
|
SIGSTOREDIR=${DESTDIR}/var/lib/atomic/sigstore
|
||||||
BASHINSTALLDIR=${PREFIX}/share/bash-completion/completions
|
BASHINSTALLDIR=${PREFIX}/share/bash-completion/completions
|
||||||
GO_MD2MAN ?= /usr/bin/go-md2man
|
GO_MD2MAN ?= /usr/bin/go-md2man
|
||||||
|
|
||||||
@ -62,8 +63,9 @@ clean:
|
|||||||
rm -f skopeo docs/*.1
|
rm -f skopeo docs/*.1
|
||||||
|
|
||||||
install: install-binary install-docs install-completions
|
install: install-binary install-docs install-completions
|
||||||
|
install -d -m 755 ${SIGSTOREDIR}
|
||||||
install -D -m 644 default-policy.json ${CONTAINERSSYSCONFIGDIR}/policy.json
|
install -D -m 644 default-policy.json ${CONTAINERSSYSCONFIGDIR}/policy.json
|
||||||
install -d -m 755 ${REGISTRIESDDIR}
|
install -D -m 644 default.yaml ${REGISTRIESDDIR}/default.yaml
|
||||||
|
|
||||||
install-binary: ./skopeo
|
install-binary: ./skopeo
|
||||||
install -D -m 755 skopeo ${INSTALLDIR}/skopeo
|
install -D -m 755 skopeo ${INSTALLDIR}/skopeo
|
||||||
|
26
default.yaml
Normal file
26
default.yaml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# This is a default registries.d configuration file. You may
|
||||||
|
# add to this file or create additional files in registries.d/.
|
||||||
|
#
|
||||||
|
# sigstore: indicates a location that is read and write
|
||||||
|
# sigstore-staging: indicates a location that is only for write
|
||||||
|
#
|
||||||
|
# sigstore and sigstore-staging take a value of the following:
|
||||||
|
# sigstore: {schema}://location
|
||||||
|
#
|
||||||
|
# For reading signatures, schema may be http, https, or file.
|
||||||
|
# For writing signatures, schema may only be file.
|
||||||
|
|
||||||
|
# This is the default signature write location for docker registries.
|
||||||
|
default-docker:
|
||||||
|
# sigstore: file:///var/lib/atomic/sigstore
|
||||||
|
sigstore-staging: file:///var/lib/atomic/sigstore
|
||||||
|
|
||||||
|
# The 'docker' indicator here is the start of the configuration
|
||||||
|
# for docker registries.
|
||||||
|
#
|
||||||
|
# docker:
|
||||||
|
#
|
||||||
|
# privateregistry.com:
|
||||||
|
# sigstore: http://privateregistry.com/sigstore/
|
||||||
|
# sigstore-staging: /mnt/nfs/privateregistry/sigstore
|
||||||
|
|
Loading…
Reference in New Issue
Block a user