Add action
This commit is contained in:
parent
4525aeeb65
commit
68135ac7b8
20
action.yml
20
action.yml
@ -4,6 +4,18 @@ inputs:
|
||||
name:
|
||||
description: "Directory name"
|
||||
required: true
|
||||
REGISTRY_USERNAME:
|
||||
description: "Registry username"
|
||||
required: true
|
||||
REGISTRY_TOKEN:
|
||||
description: "Registry token"
|
||||
required: true
|
||||
DOCKER_USERNAME:
|
||||
description: "Docker username"
|
||||
required: true
|
||||
DOCKER_PASSWORD:
|
||||
description: "Docker password"
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
@ -18,14 +30,14 @@ runs:
|
||||
uses: https://git.kjan.de/actions/login-action@v3
|
||||
with:
|
||||
registry: git.kjan.de
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
username: ${{ inputs.REGISTRY_USERNAME }}
|
||||
password: ${{ inputs.REGISTRY_TOKEN }}
|
||||
|
||||
- name: Login to Docker.io Registry
|
||||
uses: https://git.kjan.de/actions/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
username: ${{ inputs.DOCKER_USERNAME }}
|
||||
password: ${{ inputs.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v4
|
||||
|
Loading…
x
Reference in New Issue
Block a user