Compare commits

...

2 commits

Author SHA1 Message Date
29f3fb77e6
chore(deps): update actions/cache digest to 5a3ec84 2025-06-01 14:02:15 +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

@ -40,7 +40,7 @@ runs:
password: ${{ inputs.DOCKER_PASSWORD }} password: ${{ inputs.DOCKER_PASSWORD }}
- name: Cache Docker layers - name: Cache Docker layers
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
with: with:
path: /tmp/.buildx-cache path: /tmp/.buildx-cache
key: ${{ runner.os }}-${{ inputs.name }}-${{ github.sha }} key: ${{ runner.os }}-${{ inputs.name }}-${{ github.sha }}