Skip to content

Ability to deploy after a push to Docker Hub #1186

@philp

Description

@philp

We've been trying out Shippable as the main component in a continuous delivery workflow, but have run into a little bit of an issue when it comes to deploying Docker images to AWS.

What we'd like to be able to do is this:

  1. Commit code to Gt.
  2. Have Shippable build and test the Docker container.
  3. If successful, push the Docker container to Docker Hub, THEN:
  4. Call eb deploy to trigger a deployment on AWS.

What we're trying to do is deploy the ready-built container from Docker Hub, so that our deployments can be tagged for easy rollbacks and other nice things. AWS allows us to use a Dockerrun.aws.json in place of a standard Dockerfile, in which we can define a specific container instance to pull from the Hub.

I can't see a way for us to easily do this with Shippable, because the after_success trigger happens BEFORE there is a push to Docker Hub — and that's the only place I can see to trigger the deployment.

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions