You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an image: "image" is specified in a docker compose service together with a build: instruction (meaning "build the container from a dockerfile and store it as "image""), rollback images are not created
Background: We use a docker compose setup, where services reuse images built in previous steps. Thus we do need to use build: and image: tags in one and the same service to be able to refer to the image in a later service.
Note: This might (!) be related to #2824, but my point here is we are using/setting image (!) names, and not container names. IMHO the conclusion in the mentioned discussion might be erroneous.
Minimal Reproduction (if possible, example repository)
Create a resource of type Private Repository with the Docker Compose build pack.
This docker-compose.yml generates a rollback image correctly:
Description
If an image: "image" is specified in a docker compose service together with a build: instruction (meaning "build the container from a dockerfile and store it as "image""), rollback images are not created
Background: We use a docker compose setup, where services reuse images built in previous steps. Thus we do need to use build: and image: tags in one and the same service to be able to refer to the image in a later service.
Note: This might (!) be related to #2824, but my point here is we are using/setting image (!) names, and not container names. IMHO the conclusion in the mentioned discussion might be erroneous.
Minimal Reproduction (if possible, example repository)
Create a resource of type Private Repository with the Docker Compose build pack.
This docker-compose.yml generates a rollback image correctly:
This docker-compose.yml does not generate a rollback image:
Exception or Error
There is no rollback image stored.
Version
v4.0.0-beta.332
Cloud?
The text was updated successfully, but these errors were encountered: