File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 steps :
3434 - name : Checkout Repository
3535 uses : actions/checkout@v2
36- - name : building binaries for ami
37- uses : appleboy/ssh-action@v0.1.7
38- env :
39- VERSION : ${{ github.event.release.tag_name }}
40- with :
41- host : ${{ secrets.AWS_BUILD_HOST }}
42- username : ${{ secrets.AWS_BUILD_USERNAME }}
43- key : ${{ secrets.AWS_BUILD_KEY }}
44- port : 22
45- envs : VERSION
46- script : |
47- export PATH=$PATH:/usr/local/go/bin && sh build.sh ${VERSION}
48- - name : Build AMI
49- uses : hashicorp/packer-github-actions@master
50- with :
51- command : build
52- target : " ./ami.json"
53- env :
54- PACKER_LOG : 1
55- AWS_ACCESS_KEY : ${{ secrets.AWS_ACCESS_KEY }}
56- AWS_SECRET_KEY : ${{ secrets.AWS_SECRET_KEY }}
57- VERSION : ${{ github.event.release.tag_name }}
5836 - name : building binaries for eaas deployments
59- uses : appleboy/ssh-action@v1.0.0
37+ uses : appleboy/ssh-action@v0.1.7
6038 env :
6139 VERSION : ${{ github.event.release.tag_name }}
6240 with :
6846 command_timeout : 3600s
6947 envs : VERSION
7048 script : |
71- echo $SHELL
7249 source ~/.bashrc
73- echo $PATH
7450 sh build.sh ${VERSION}
7551
7652 build-sls :
You can’t perform that action at this time.
0 commit comments