File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 26
26
command : |
27
27
VERSION=$(cat VERSION)
28
28
docker build . -t developmentseed/geolambda:${VERSION}
29
- - deploy :
30
- name : Publish Docker images
31
- command : |
32
- VERSION=$(cat VERSION)
29
+ # publish docker images
33
30
mkdir -p ~/.ssh
34
31
ssh-keyscan github.com >> ~/.ssh/known_hosts
35
32
git tag ${VERSION}
38
35
docker tag developmentseed/geolambda:latest developmentseed/geolambda:${VERSION}
39
36
docker push developmentseed/geolambda:latest
40
37
docker push developmentseed/geolambda:${VERSION}
41
- - deploy :
42
- name : Deploy public Lambda layers
43
- command : |
38
+ # deploy public Lambda layers
44
39
pip install awscli
45
- VERSION=$(cat VERSION)
46
40
docker run --rm -v $PWD:/home/geolambda --entrypoint package.sh -it developmentseed/geolambda:${VERSION}
47
41
for region in [us-east-1, us-west-2, eu-central-1]
48
42
do
54
48
--layer-name geolambda-test --action lambda:GetLayerVersion \
55
49
--statement-id public --version-number 1 --principal '*'
56
50
done
57
-
51
+
58
52
59
53
workflows :
60
54
version : 2
You can’t perform that action at this time.
0 commit comments