We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acbf67b commit 4296813Copy full SHA for 4296813
2 files changed
.github/workflows/release.yml
@@ -18,6 +18,8 @@ env:
18
KAMAL_DEPLOY_IP: ${{ secrets.KAMAL_DEPLOY_IP }}
19
KAMAL_DEPLOY_HOST: ${{ secrets.KAMAL_DEPLOY_HOST }}
20
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
21
+ KAMAL_REGISTRY_USERNAME: ${{ github.actor }}
22
+ KAMAL_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
23
24
jobs:
25
release:
config/deploy.yml
@@ -45,11 +45,11 @@ registry:
45
# Specify the registry server, if you're not using Docker Hub
46
server: ghcr.io
47
username:
48
- - <%= ENV['GITHUB_ACTOR'] %>
+ - KAMAL_REGISTRY_USERNAME
49
50
# Always use an access token rather than real password (pulled from .kamal/secrets).
51
password:
52
- - <%= ENV['GITHUB_TOKEN'] %>
+ - KAMAL_REGISTRY_PASSWORD
53
54
# Configure builder setup.
55
builder:
0 commit comments