Skip to content

GitHub Actions for Docker Build and Push to Docker Hub and GHCR #402

@alexsigaras

Description

@alexsigaras

Feature description

This feature adds a GitHub Action that will build Dockerfile from the root of the repo and push it to Docker Hub and GHCR leveraging GitHub Secrets.

Use case

This will save both development time by eliminating manual Docker Image pushes but will also make the source code more broadly available to community members that want to try it.

Acceptance Criteria

Provided the right GitHub secrets, merging this PR should allow building Docker images when code is merged in main branch or when code is tagged in a release.

Proposed solution

Create a GitHub Actions file that covers docker build and push to Docker Hub and GHCR.

Alternatives considered

Manual builds and pushes or external CIs like Circle CI and others. None offer the simplicity of integrating inside GitHub and GitHub Actions

Implementation details

No response

Potential Impact

This feature will not affect any of the current code or other workflows.

Additional context

NA

Contribution

Yes, I can create a PR for this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions