-
Notifications
You must be signed in to change notification settings - Fork 117
Description
What happened?
I'm trying to deploy the manifests using the latest action I'm passing the required manifests file and IMAGE URL in the action itself , it is showing unable to find the manifest files under tmp directory
My Action defined as
- uses: Azure/[email protected]
id: k8s-deploy
with:
resource-group: ${{ env.RG_NAME}}
name: ${{ env.AKS_CLUSTER_NAME}}
action: deploy
strategy: basic
private-cluster: true
namespace: ${{ env.K8S_NAMESPACE}}
manifests: |
k8-manifests/insights-copilot-api-deployment.yaml
k8-manifests/insights-copilot-api-service.yaml
images: |
$ACR_URL/$DEPLOYMENT_NAME:${GITHUB_SHA:0:5}-$(date +%Y-%m-%d)
Version
- I am using the latest version
Runner
self-hosted
Relevant log output
Run Azure/[email protected]
with:
resource-group: ***
name: ***
action: deploy
strategy: basic
private-cluster: true
namespace: insights-copilot-api
manifests: k8-manifests/insights-copilot-api-deployment.yaml
k8-manifests/insights-copilot-api-service.yaml
images: $ACR_URL/$DEPLOYMENT_NAME:$***GITHUB_SHA:0:5***-$(date +%Y-%m-%d)
pull-images: true
route-method: service
version-switch-buffer: 0
traffic-split-method: pod
percentage: 0
force: false
token: ***
annotate-resources: true
annotate-namespace: true
skip-tls-verify: false
env:
AZURE_CREDENTIALS: ***
ACR_URL: ***
ACR_USER_NAME: ***
ACR_PASSWORD: ***
IMAGE_TAG: alpha
AKS_CLUSTER_NAME: ***
RG_NAME: ***
DEPLOYMENT_NAME: insights-copilot-api
K8S_NAMESPACE: insights-copilot-api
AZURE_HTTP_USER_AGENT:
AZUREPS_HOST_ENVIRONMENT:
KUBECONFIG: /home/c689555/actions-runner/insights-copilot-backend/temp/kubeconfig1716304524173
KUBE_CONFIG_PATH: /home/c689555/actions-runner/insights-copilot-backend/_temp/kubeconfig_1716304524173
Deploying manifests
the path "/tmp/insights-copilot-api-deployment.yaml" does not exist
the path "/tmp/insights-copilot-api-service.yaml" does not exist
Error: Error: undefined