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

Adds support for targeting a specific stage when using multi-stage builds #752

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

beastawakens
Copy link
Collaborator

What is the feature/fix?

If a service uses a multi-stage Dockerfile, this change allows you to specify the stage to build for the service.
Works for both buildkit and docker builders.

Does it has a breaking change?

No

How to use/test it?

Create a service with a multi-stage Dockerfile. Create a convox.yml with a target configuration within the build section to specify which stage you wish to build and deploy for the service. Build/deploy the service and see that the correct stage has been built.

Checklist

  • New coverage tests
  • Unit tests passing
  • E2E tests passing
  • E2E downgrade/update test passing
  • Documentation updated
  • No warnings or errors on Deepsource/Codecov

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

Successfully merging this pull request may close these issues.

None yet

1 participant