File tree Expand file tree Collapse file tree 1 file changed +6
-13
lines changed
Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change 1- name : Build and Deploy to Valyent
1+ name : Build and deploy to Valyent
22
33on :
44 push :
99jobs :
1010 build-and-deploy :
1111 runs-on : ubuntu-latest
12- permissions :
13- contents : read
1412
1513 steps :
1614 - name : Checkout repository
@@ -28,25 +26,20 @@ jobs:
2826 uses : docker/metadata-action@v5
2927 with :
3028 images : registry.valyent.cloud/${{ secrets.VALYENT_ORG }}/${{ secrets.VALYENT_APP }}
31- tags : |
32- type=ref,event=branch
33- type=ref,event=pr
34- type=sha,format=long
35- type=raw,value=latest,enable={{is_default_branch}}
3629
3730 - name : Build and push Docker image
3831 uses : docker/build-push-action@v5
3932 with :
4033 context : fastapi
41- push : true
42- tags : ${{ steps.meta.outputs.tags }}
43- labels : ${{ steps.meta.outputs.labels }}
44-
34+
4535 - name : Install Valyent CLI
4636 run : curl -L https://cli.valyent.cloud | sh
4737
4838 - name : Authenticate Valyent CLI
49- run : ~/.valyent/bin/valyent auth login --api-key ${{ secrets.VALYENT_API_KEY }} --organization ${{ secrets.VALYENT_ORG }}
39+ run : |
40+ ~/.valyent/bin/valyent auth login \
41+ --api-key ${{ secrets.VALYENT_API_KEY }} \
42+ --organization ${{ secrets.VALYENT_ORG }}
5043
5144 - name : Deploy to Valyent
5245 run : |
You can’t perform that action at this time.
0 commit comments