File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed
Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 2323 if : ${{ github.event.workflow_run.conclusion == 'success' }}
2424 steps :
2525 - name : Checkout code
26- uses : actions/checkout@v3
26+ uses : actions/checkout@v5
2727
2828 - name : Set up environment variables
2929 run : |
9292 password : ${{ env.KAMAL_REGISTRY_PASSWORD }}
9393
9494 - name : Setup .NET
95- uses : actions/setup-dotnet@v3
95+ uses : actions/setup-dotnet@v5
9696 with :
97- dotnet-version : ' 8.0'
97+ dotnet-version : 8.0.x
9898
9999 - name : Build and push Docker image
100100 run : |
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ jobs:
1111 runs-on : ubuntu-22.04
1212 steps :
1313 - name : checkout
14- uses : actions/checkout@v3
14+ uses : actions/checkout@v5
1515
1616 - name : Setup dotnet
17- uses : actions/setup-dotnet@v3
17+ uses : actions/setup-dotnet@v5
1818 with :
19- dotnet-version : ' 8.0'
19+ dotnet-version : 8.0.x
2020
2121 - name : build
2222 run : dotnet build
Original file line number Diff line number Diff line change 2323 if : ${{ github.event.workflow_run.conclusion == 'success' }}
2424 steps :
2525 - name : Checkout code
26- uses : actions/checkout@v3
26+ uses : actions/checkout@v5
2727
2828 - name : Set up environment variables
2929 run : |
7979 driver-opts : image=moby/buildkit:master
8080
8181 - name : Kamal bootstrap
82- run : kamal server bootstrap
82+ run : |
83+ kamal server bootstrap
8384
8485 - name : Check if first run and execute kamal app boot if necessary
8586 run : |
@@ -105,4 +106,5 @@ jobs:
105106 - name : Deploy with Kamal
106107 run : |
107108 kamal lock release -v
109+ kamal server exec --no-interactive 'echo "${{ env.KAMAL_REGISTRY_PASSWORD }}" | docker login ghcr.io -u ${{ env.KAMAL_REGISTRY_USERNAME }} --password-stdin'
108110 kamal deploy -P --version latest
You can’t perform that action at this time.
0 commit comments