Compare commits

...

2 commits

Author SHA1 Message Date
a02f0d8481
chore(deps): update https://git.kjan.de/actions/build-push-action digest to 2634353 2025-06-01 14:02:17 +00:00
64b708adca fix: Add Readme
All checks were successful
Release / Release (push) Successful in 1m12s
2025-06-01 15:45:19 +02:00
2 changed files with 60 additions and 1 deletions

59
README.md Normal file
View file

@ -0,0 +1,59 @@
## Docker build
### Description
Builds a docker image
### Inputs
| name | description | required | default |
| --- | --- | --- | --- |
| `name` | <p>Directory name</p> | `true` | `""` |
| `REGISTRY_USERNAME` | <p>Registry username</p> | `true` | `""` |
| `REGISTRY_TOKEN` | <p>Registry token</p> | `true` | `""` |
| `DOCKER_USERNAME` | <p>Docker username</p> | `true` | `""` |
| `DOCKER_PASSWORD` | <p>Docker password</p> | `true` | `""` |
### Runs
This action is a `composite` action.
### Usage
```yaml
- uses: ***PROJECT***@***VERSION***
with:
name:
# Directory name
#
# Required: true
# Default: ""
REGISTRY_USERNAME:
# Registry username
#
# Required: true
# Default: ""
REGISTRY_TOKEN:
# Registry token
#
# Required: true
# Default: ""
DOCKER_USERNAME:
# Docker username
#
# Required: true
# Default: ""
DOCKER_PASSWORD:
# Docker password
#
# Required: true
# Default: ""
```

View file

@ -48,7 +48,7 @@ runs:
${{ runner.os }}-${{ inputs.name }}- ${{ runner.os }}-${{ inputs.name }}-
- name: Build and push - name: Build and push
uses: https://git.kjan.de/actions/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6 uses: https://git.kjan.de/actions/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
with: with:
cache-from: type=local,src=/tmp/.buildx-cache cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max