Skip to content
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

Github actions failed to run Deploy #44

Open
lanks opened this issue Dec 1, 2023 · 1 comment
Open

Github actions failed to run Deploy #44

lanks opened this issue Dec 1, 2023 · 1 comment

Comments

@lanks
Copy link

lanks commented Dec 1, 2023

Hi there

I am trying to setup the deployment on github actions using Devcontainers.

I am receiving the error below:
` Setting DockerBuildArgs: {} for RailsLambda function

Failed building function RailsLambda

Build Failed

Error: The command '/bin/sh -c gem install 'aws_lambda_ric'' returned a non-zero code: 1

Error: Dev container exec failed: (exit code: 1)
Error: Dev container exec failed: (exit code: 1)

Also I was previously receiving errors caused by these lines in the deploy.yml file:
imageName: ghcr.io/lanks/{% include "_cctmp/dash_name.txt" %}-devcontainer cacheFrom: ghcr.io/lanks/{% include "_cctmp/dash_name.txt" %}-devcontainer

The error I received was:

  [2023-12-01T08:55:29.408Z] ERROR: parse error on line 1, column 33: bare " in non-quoted-field
  [2023-12-01T08:55:29.411Z] Service 'app' failed to build : Build failed
  [2023-12-01T08:55:29.466Z] Exit code 1

I updated these lines and it worked but I am not sure if I need these lines for the container names?
imageName: ghcr.io/lanks/sm-devcontainer cacheFrom: ghcr.io/lanks/sm-devcontainer

Appreciate any help if anyone knows how to overcome these? Cheers

@prcongithub
Copy link

Same error, any update here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants