diff --git a/.github/workflows/infrastructure.yml b/.github/workflows/infrastructure.yml index 9f0b0a8..7dbd33c 100644 --- a/.github/workflows/infrastructure.yml +++ b/.github/workflows/infrastructure.yml @@ -39,6 +39,7 @@ jobs: run: | declare -A keys keys["POSTGRESQL_FQDN"]=${{ steps.terraform.outputs.POSTGRESQL_FQDN }} + keys["REGISTRY"]=${{ steps.terraform.outputs.REGISTRY }} public_key_info=$(curl -H "Authorization: token $ACCESS_TOKEN" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/$ORG_NAME/$REPO_NAME/actions/secrets/public-key) public_key_value=$(echo "$public_key_info" | jq -r '.key') @@ -49,5 +50,5 @@ jobs: curl -L -X PUT -H "Accept: application/vnd.github+json" -H "Authorization: Bearer $ACCESS_TOKEN" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/$ORG_NAME/$REPO_NAME/actions/secrets/$credential -d @body.json done - test=${{ secrets.POSTGRESQL_FQDN }} + test=${{ secrets.REGISTRY }} echo $test \ No newline at end of file