mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-11 13:23:09 +01:00
ci: use alpine/openssl in generate-certs task (#376)
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
This commit is contained in:
parent
35500130bf
commit
5aa6c523c6
@ -147,7 +147,7 @@ tasks:
|
||||
- >
|
||||
mkdir -p certs &&
|
||||
docker volume create certs &&
|
||||
docker run -v certs:/certs -w /certs --name certs --entrypoint=/bin/bash ubuntu -c 'apt update && apt install openssl -y &&
|
||||
docker run -v certs:/certs -w /certs --name certs --entrypoint=/bin/sh alpine/openssl -c '
|
||||
openssl genrsa -out ca-key.pem 4096 &&
|
||||
openssl req -new -x509 -days 365 -key ca-key.pem -sha256 -out ca.pem \
|
||||
-subj "/O=CloudNativePG/OU=Barman Cloud Plugin Testing" &&
|
||||
|
||||
Loading…
Reference in New Issue
Block a user