Skip to content

Publish Docker image #41

@calebcartwright

Description

@calebcartwright

The clean building of the Docker image takes quite a while (as it has to perform a complete build of the application, preferably in Release mode), so it'd be great for us to publish the image, presumably to Dockerhub, so that consumers can simply pull and run the image.

Here's the workflow we have to publish the image for the main Badge Server that should serve as a useful reference

https://github.com/badges/shields/blob/master/.github/workflows/publish-docker-next.yml

To control the build mode, be sure the docker build arg CARGO_BUILD_MODE is set to release

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

    Issue actions