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