File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 39
39
s3_bucket_repo=" s3://falco-distribution/packages/${repo} /${arch} "
40
40
cloudfront_path=" /packages/${repo} /${arch} "
41
41
42
+ # sign
43
+
44
+ gpg --detach-sign --digest-algo SHA256 --armor ${file}
45
+
42
46
# publish
43
47
package=$( basename -- ${file} )
44
48
echo " Publishing ${package} to ${s3_bucket_repo} ..."
45
49
aws s3 cp ${file} ${s3_bucket_repo} /${package} --acl public-read
50
+ aws s3 cp ${file} .asc ${s3_bucket_repo} /${package} .asc --acl public-read
46
51
47
- aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DIST_ID} --paths ${cloudfront_path} /${package}
52
+ aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DIST_ID} --paths ${cloudfront_path} /${package}
53
+ aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DIST_ID} --paths ${cloudfront_path} /${package} .asc
You can’t perform that action at this time.
0 commit comments