scaleway / serverless-scaleway-functions

Plugin for Serverless Framework to allow users to deploy their serverless applications on Scaleway Functions
MIT License
78 stars 25 forks source link

fix: deploy container with registry image #197

Closed redanrd closed 1 year ago

redanrd commented 1 year ago

Summary

What's changed?

If container's directory is empty, don't build and push an image. The image registry is used instead to deploy the container.

Why do we need this?

Fix bug.

How have you tested it?

Deployed locally two containers: one with directory, the other one only with registry image. It is assumed that a user will never use a directory and a registry image at the same time as stated on the readme guidelines.

Checklist

Details