Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mattia Mazzucato <mattia.mazzucato@secomind.com>
  • Loading branch information
matt-mazzucato committed Sep 9, 2024
1 parent 721ca84 commit 6e6aac1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ runs:
run: ${{ github.action_path }}/setup-astarte.sh "${{ inputs.astarte_version }}" "${{ inputs.astarte_namespace }}" "${{ github.action_path }}/adi.yml" "${{ github.action_path }}/broker-service.yml" "${{ github.action_path }}/astarte.yaml"
- name: Create Realm Keys
shell: bash
run: astartectl utils gen-keypair "${{ inputs.astarte_realm }}"
run: cd "${{ github.action_path }}" && astartectl utils gen-keypair "${{ inputs.astarte_realm }}"
- name: load-realm-key
shell: bash
run: echo "::set-output name=realm-key::$(cat ${{ github.action_path }}/${{ inputs.astarte_realm }}_private.pem)"
- name: Get housekeeping key
shell: bash
run: kubectl get secrets -n "${{ inputs.astarte_namespace }}" astarte-housekeeping-private-key -o jsonpath={.data.private-key} | base64 -d > housekeeping_key.pem
run: kubectl get secrets -n "${{ inputs.astarte_namespace }}" astarte-housekeeping-private-key -o jsonpath={.data.private-key} | base64 -d > "${{ github.action_path }}"/housekeeping_key.pem
- id: load-housekeeping-key
shell: bash
run: echo "::set-output name=housekeeping-key::$(cat ${{ github.action_path }}/housekeeping_key.pem)"
Expand Down

0 comments on commit 6e6aac1

Please sign in to comment.