Skip to content

Generating a FHIR Core Release APK 🚀 #7

Generating a FHIR Core Release APK 🚀

Generating a FHIR Core Release APK 🚀 #7

name: Manual APK Release
run-name: Generating a FHIR Core Release APK 🚀
on: [push]
jobs:
build:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v3
- name: Import Secrets from Vault
id: import-secrets
uses: hashicorp/[email protected]
with:
url: https://vault.onalabs.org
token: ${{ secrets.VAULT_TOKEN }}
# caCertificate: ${{ secrets.VAULT_CA_CERT }}
tlsSkipVerify: true
secrets: |
kv-v2-fhircore/data/fhircore_apk_credentials KEYSTORE_ALIAS;
kv-v2-fhircore/data/fhircore_apk_credentials KEYSTORE_FILE;
kv-v2-fhircore/data/fhircore_apk_credentials KEYSTORE_PASSWORD;
kv-v2-fhircore/data/fhircore_apk_credentials KEY_PASSWORD;
kv-v2-fhircore/data/fhircore_apk_credentials LOCAL_PROPERTIES_FILE;
- name: Test secret from Vault
id: test-secret
run: |
touch test
echo $KEYSTORE_ALIAS >> ./test
cat test