Skip to content

[FR] Add CI workflow to build and push Docker image to GHCR #479

Description

@rizlas

Currently a CI workflow to automatically build and push our Docker image to ghcr.io is missing. This workflow should handle image publishing for both releases and development builds.

  • Workflow should:

    • Trigger on:

      • Release creation → build and push image tagged with the release name
      • Push to development branch → build and push image tagged as latest
      • Manual trigger (workflow_dispatch) → build and push image tagged as latest

Example image tags:

  • ghcr.io/bb-Ricardo/netbox-sync:v1.0.0 (for releases)
  • ghcr.io/bb-Ricardo/netbox-sync:latest (for development)

I'd like to contribute this feature as discussed in #474 .

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions