Skip to content

Commit 078e26d

Browse files
committed
update
1 parent f933dc8 commit 078e26d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ jobs:
7676
driver-opts: image=moby/buildkit:master
7777

7878
- name: Kamal bootstrap
79-
run: kamal server bootstrap
79+
run: |
80+
kamal server bootstrap
81+
kamal server exec --no-interactive 'echo "${{ env.KAMAL_REGISTRY_PASSWORD }}" | docker login ghcr.io -u ${{ env.KAMAL_REGISTRY_USERNAME }} --password-stdin'
8082
8183
- name: Check if first run and execute kamal app boot if necessary
8284
run: |
@@ -95,7 +97,6 @@ jobs:
9597
- name: Migration
9698
if: env.HAS_MIGRATIONS == 'true'
9799
run: |
98-
kamal server exec --no-interactive 'echo "${{ env.KAMAL_REGISTRY_PASSWORD }}" | docker login ghcr.io -u ${{ env.KAMAL_REGISTRY_USERNAME }} --password-stdin'
99100
kamal server exec --no-interactive "docker pull ghcr.io/${{ env.image_repository_name }}:latest || true"
100101
kamal app exec --no-reuse --no-interactive --version=latest "--AppTasks=migrate"
101102

0 commit comments

Comments
 (0)