badges / badges/squint

Publish Docker image

Open
#41 9 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
22
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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`

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the referenced .github/workflows/publish-docker-next.yml workflow in the Shields repository and compare it with Squint’s Docker build setup. Ensure the docker build arg CARGO_BUILD_MODE is set to release, then verify that consumers can pull and run the published image from the chosen registry.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github-actions, rust
Domain
ci-cd, devops, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.