feat(docker): update Docker build config, .dockerignore, and add image documentation

- Updated .dockerignore to properly include necessary directories and LICENSE file
- Configured Docker build action to use specific Dockerfile path in Forgejo CI
- Added image documentation section in README.md
- Fixed navigation links to use absolute paths in base layout
- Updated edit link in footer to use correct Codeberg URL pattern
- Improved image README with proper front matter and formatting
This commit is contained in:
Janik von Rotz committed 2025-09-14 15:54:51 +02:00
1 parent a6d6658bdb
commit 37fc346a8b
5 files changed
+22 -12

No files matched your search

+4 -2
View File
@@ -1,3 +1,5 @@
**
!./bin
!./image
!./bin/
!./image/
!LICENSE
+2 -1
View File
@@ -36,6 +36,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
push: true
file: image/Dockerfile
platforms: linux/amd64,linux/arm64
tags: janikvonrotz/taskfile.build:latest
push: true
+4
View File
@@ -135,6 +135,10 @@ Show the available commands with `task help`.\
From the specification the project can be installed with `task install`.\
Execute all commands with `task all`.
### Image
See [taskfile.build/image](./image) for details.
## Naming
The naming of functions is important. There are basically two styles:
+7 -7
View File
@@ -28,19 +28,19 @@
<li><strong><a class="contrast" href="/"><img width="50px" src="/img/logo.png" /> taskfile.build</a></strong></li>
</ul>
<ul>
<li><a class="contrast" href="#specification">Specification</a></li>
<li><a class="contrast" href="#usage">Usage</a></li>
<li><a class="contrast" href="#naming">Naming</a></li>
<li><a class="contrast" href="#patterns">Patterns</a></li>
<li><a class="contrast" href="#example">Example</a></li>
<li><a class="contrast" href="#library">Library</a></li>
<li><a class="contrast" href="/#specification">Specification</a></li>
<li><a class="contrast" href="/#usage">Usage</a></li>
<li><a class="contrast" href="/#naming">Naming</a></li>
<li><a class="contrast" href="/#patterns">Patterns</a></li>
<li><a class="contrast" href="/#example">Example</a></li>
<li><a class="contrast" href="/#library">Library</a></li>
</ul>
</nav>
<article>
{{ content | safe }}
</article>
<footer>
<a href="https://codeberg.org/janikvonrotz/taskfile.build/edit/main/{{ page.inputPath }}">Edit this page on GitHub</a>
<a href="https://codeberg.org/janikvonrotz/taskfile.build/_edit/main/{{ page.inputPath }}">Edit this page on GitHub</a>
</footer>
</main>
<script src="/js/randomFunctionNames.js"></script>
+5 -2
View File
@@ -1,6 +1,9 @@
---
layout: layouts/base.njk
permalink: /image/
---
[taskfile.build](https://taskfile.build/image)
===
# [taskfile.build](https://taskfile.build/image)
[![Docker pulls](https://img.shields.io/docker/pulls/janikvonrotz/taskfile-build)](https://hub.docker.com/r/janikvonrotz/taskfile-build/)