Closed HaiderSultanArc closed 2 years ago
Hi @HaiderSultanArc
Are you sure that's the action.yml file? The error message does not seem to correspond to given action.yml. It's referencing gcr.io/cloud-marketplace/...
, which I do not see in your action.yml anywhere. Is this issue still happening?
@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 gloud compute instances update-container
command.
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