Closed ezYakaEagle442 closed 1 year ago
The error does not happen when I hard code the Manifests paths :
- name: Deploy Manifests to AKS
uses: Azure/k8s-deploy@v4
with:
namespace: ${{ env.PETCLINIC_NAMESPACE }}
manifests: |
spring-petclinic-config-server/k8s/deploy
spring-petclinic-vets-service/k8s/deploy
spring-petclinic-customers-service/k8s/deploy
spring-petclinic-visits-service/k8s/deploy
This syntax is not valid in GitHub workflows. This wouldn't work with any action.
You should be using something like
- run: echo ::set-output name=server_folder::${{ env.PRJ_PREFIX }}-${{ env.CONFIG_SERVER }}
id: variables
- name: Deploy Manifests
uses: Azure/k8s-deploy@v4
with:
namespace: ${{ env.PETCLINIC_NAMESPACE }}
manifests: |
${{ steps.variables.outputs.server_folder }}/k8s/deploy
Here's a related discussion with more examples.
Going to close this now. Feel free to reopen.
What happened?
See my workflow
Version
Runner
GH public Runner
Relevant log output
https://github.com/ezYakaEagle442/aks-java-petclinic-mic-srv/actions/runs/3969180670/jobs/6803319810