-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't deploy container to GCE, using gcloud compute instances update-container, because of YML parse error #559
Comments
Are you sure that's the action.yml file? The error message does not seem to correspond to given action.yml. It's referencing |
@sethvargo thanks for the reply and, yes this is the yml file. I don't understand the nature of this error. I know it is in the I don't know the internal working of the command. It takes these attributes and the format is perfectly fine. But it gives an error related to mapping values or parsing of yml or something. |
@HaiderSultanArc what happens when you run the command locally? |
@sethvargo it gives the exact same error locally on my terminal as well |
Hi @HaiderSultanArc that points to an issue with your configuration or potentially a gcloud bug. If you have a Google support contract, you can open a case. If you do not have a support contract, see https://cloud.google.com/support/docs/issue-trackers for filing a bug. Since this doesn't seem related to the GitHub Action, I'll close this out. |
@sethvargo thanks for the coordination. |
TL;DR
I am writing a Github Workflow that will build and push the docker container to GCR and then to the VM instance on GCE. But the deployment stage of GCE gives out the following error:
Expected behavior
gloud compute instances update-container
should update the container on VM.Observed behavior
Instead returns an error related to parsing of YML.
Action YAML
Log output
Additional information
Earlier this same YML file worked fine and Container was updated on VM
The text was updated successfully, but these errors were encountered: