Skip to content

Commit 4a0af54

Browse files
committed
update to latest version
1 parent defd6fb commit 4a0af54

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/workflows/build-container.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
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: |
@@ -92,9 +92,9 @@ jobs:
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: |

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
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: |
@@ -79,7 +79,8 @@ jobs:
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

0 commit comments

Comments
 (0)