Merge branch 'main' of git.qlic.nl:workflows/kamal into feature/update-tag

This commit is contained in:
Johan Rooijakkers 2025-02-27 15:26:55 +01:00
commit 4248da2454

View File

@ -4,9 +4,6 @@ on:
ssh-private-key: ssh-private-key:
required: true required: true
type: string type: string
env:
required: true
type: string
inputs: inputs:
image: image:
required: false required: false
@ -60,14 +57,15 @@ jobs:
- name: Get bitwarden secrets - name: Get bitwarden secrets
uses: https://git.qlic.nl/actions/warden@v1 uses: https://git.qlic.nl/actions/warden@v1
with: with:
client-id: ${{ inputs.warden-client-id }} email: ${{ inputs.warden-email }}
secret-id: ${{ inputs.warden-client-secret }}
password: ${{ inputs.warden-password }} password: ${{ inputs.warden-password }}
server: ${{ inputs.warden-server }} client-id: ${{ inputs.warden-client-id }}
client-secret: ${{ inputs.warden-client-secret }}
secrets: ${{ inputs.secrets }} secrets: ${{ inputs.secrets }}
- name: Create .env file from secret - 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 - name: Append kamal registry password
run: echo "KAMAL_REGISTRY_PASSWORD=${{ inputs.password }}" >> .kamal/secrets.${{ inputs.environment }} run: echo "KAMAL_REGISTRY_PASSWORD=${{ inputs.password }}" >> .kamal/secrets.${{ inputs.environment }}