File tree Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Expand file tree Collapse file tree 3 files changed +33
-2
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1
1
FROM golang:1.10.6-alpine3.8
2
2
RUN apk --update add git
3
- RUN mkdir /.cache
4
- RUN chmod a+rw /.cache
Original file line number Diff line number Diff line change @@ -42,3 +42,36 @@ aws s3 cp \
42
42
--content-type=" text/markdown; charset=UTF-8" \
43
43
CHANGELOG.md ${DST_BUCKET} /CHANGELOG.md
44
44
45
+
46
+
47
+ # Main package
48
+ aws s3api put-object \
49
+ --bucket " ${DEST_BUCKET} " \
50
+ --cache-control=" max-age=300" \
51
+ --content-type=" application/octet-stream" \
52
+ --body " ./artifacts/${PKG_NAME} .tar.gz" \
53
+ --key " ${DST_BUCKET} /${PKG_NAME} _${VERSION} .tar.gz" \
54
+ --grant-full-control id=" ${SIGSCI_PROD_CANONICAL_ID} "
55
+
56
+ # Metadata files
57
+ aws s3api put-object \
58
+ --bucket " ${DEST_BUCKET} " \
59
+ --cache-control=" max-age=300" \
60
+ --content-type=" text/plain; charset=UTF-8" \
61
+ --body " VERSION" \
62
+ --key " ${DST_BUCKET} /VERSION" \
63
+ --grant-full-control id=" ${SIGSCI_PROD_CANONICAL_ID} "
64
+
65
+ aws s3api put-object \
66
+ --bucket " ${DEST_BUCKET} " \
67
+ --cache-control=" max-age=300" \
68
+ --content-type=" text/plain; charset=UTF-8" \
69
+ --body " CHANGELOG.md" \
70
+ --key " ${DST_BUCKET} /CHANGELOG.md" \
71
+ --grant-full-control id=" ${SIGSCI_PROD_CANONICAL_ID} "
72
+
73
+
74
+
75
+
76
+
77
+
You can’t perform that action at this time.
0 commit comments