Skip to content

Setup automatic docker build on new release #17

Open
@marcj

Description

@marcj

Everytime we tag a new release, we should build the docker image automatically. Dunno how at the moment. Maybe we can use Github's API and detect when a new tag has been added and then kickstart some build on a buildsystem.

Activity

k911

k911 commented on Aug 17, 2018

@k911

You can use any CI for that, with deploy script configured to build docker and push to registry whenever build is triggered on tag.

Example .travis.yml deploy script definition:
https://github.com/knit-pk/api-v1-php/blob/f2fa73946ade1d76e1ac4fa8204055fe3d1dceab/.travis.yml#L107

And deploy script itself: https://github.com/knit-pk/api-v1-php/blob/develop/deploy/docker-app-push.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @marcj@k911

        Issue actions

          Setup automatic docker build on new release · Issue #17 · php-pm/php-pm-docker