Merge branch 'main' of git.qlic.nl:workflows/kamal into feature/update-tag
This commit is contained in:
commit
4248da2454
@ -4,9 +4,6 @@ on:
|
||||
ssh-private-key:
|
||||
required: true
|
||||
type: string
|
||||
env:
|
||||
required: true
|
||||
type: string
|
||||
inputs:
|
||||
image:
|
||||
required: false
|
||||
@ -60,14 +57,15 @@ jobs:
|
||||
- name: Get bitwarden secrets
|
||||
uses: https://git.qlic.nl/actions/warden@v1
|
||||
with:
|
||||
client-id: ${{ inputs.warden-client-id }}
|
||||
secret-id: ${{ inputs.warden-client-secret }}
|
||||
email: ${{ inputs.warden-email }}
|
||||
password: ${{ inputs.warden-password }}
|
||||
server: ${{ inputs.warden-server }}
|
||||
client-id: ${{ inputs.warden-client-id }}
|
||||
client-secret: ${{ inputs.warden-client-secret }}
|
||||
secrets: ${{ inputs.secrets }}
|
||||
|
||||
- name: Create .env file from secret
|
||||
run: echo "$ENV" > .kamal/secrets.${{ inputs.environment }}
|
||||
run: |
|
||||
echo "$DOT_ENV" > .kamal/secrets.${{ inputs.environment }}
|
||||
|
||||
- name: Append kamal registry password
|
||||
run: echo "KAMAL_REGISTRY_PASSWORD=${{ inputs.password }}" >> .kamal/secrets.${{ inputs.environment }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user