init
This commit is contained in:
parent
9f9863b07c
commit
b7d1ae9173
16
action.yaml
16
action.yaml
@ -5,12 +5,12 @@ inputs:
|
|||||||
registry:
|
registry:
|
||||||
description: "Server address of Docker registry."
|
description: "Server address of Docker registry."
|
||||||
default: gitea.okami101.io
|
default: gitea.okami101.io
|
||||||
# username:
|
username:
|
||||||
# description: "Username used to log against the Docker registry"
|
description: "Username used to log against the Docker registry"
|
||||||
# required: true
|
default: ${{ vars.CONTAINER_REGISTRY_USERNAME }}
|
||||||
# password:
|
password:
|
||||||
# description: "Password or personal access token used to log against the Docker registry"
|
description: "Password or personal access token used to log against the Docker registry"
|
||||||
# required: true
|
required: true
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
@ -22,8 +22,8 @@ runs:
|
|||||||
- uses: docker/login-action@v3
|
- uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ${{ inputs.registry }}
|
registry: ${{ inputs.registry }}
|
||||||
username: ${{ vars.CONTAINER_REGISTRY_USERNAME }}
|
username: ${{ inputs.username }}
|
||||||
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
|
password: ${{ inputs.password }}
|
||||||
- uses: docker/build-push-action@v6
|
- uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user