Skip to content

Add docker support#4

Merged
Septimus4 merged 3 commits intoSeptimus4:mainfrom
ga-lep:add-docker-support
Oct 25, 2025
Merged

Add docker support#4
Septimus4 merged 3 commits intoSeptimus4:mainfrom
ga-lep:add-docker-support

Conversation

@ga-lep
Copy link
Copy Markdown
Contributor

@ga-lep ga-lep commented Oct 7, 2025

No description provided.

Galep added 2 commits October 7, 2025 00:12
Rewrites Installation part of README.md
Restructures Dockerfile
Adds docker push github workflow
Copy link
Copy Markdown
Owner

@Septimus4 Septimus4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the work

Comment on lines +3 to +6
on:
push:
branches: ["main"] # Change to your default branch
tags: ["v*"] # Trigger on version tags (e.g., v1.0.0)
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update to only publish on tags, remove push to main.


env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GHCR requires lowercase names ${{ toLower(github.repository) }}

README.md Outdated
Comment on lines +46 to +52
docker pull ghcr.io/Septimus4/Chronogen
```

then use it:

```bash
docker run ghcr.io/Septimus4/Chronogen [ARGS]
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs lowercase and a tag (either :latest or :${VERSION}), for the readme let's go with latest

Comment on lines +36 to +43
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.version.outputs.version }}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add OCI labels
and add caching to speed up next builds

with:
  cache-from: type=gha
  cache-to: type=gha,mode=max

Updates docker workflow to handle lowercase naming and OCI labels
Updates README.md to lowercase docker label and adds tag
@Septimus4 Septimus4 merged commit cfabc31 into Septimus4:main Oct 25, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants