Initial commit
This commit is contained in:
commit
e27ded4de0
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Container image that runs your code
|
||||||
|
FROM git.abackstrom.com/containers/deploy
|
||||||
|
|
||||||
|
# Copies your code file from your action repository to the filesystem path `/` of the container
|
||||||
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
# Code file to execute when the docker container starts up (`entrypoint.sh`)
|
||||||
|
ENTRYPOINT ["/entrypoint.sh"]
|
15
action.yml
Normal file
15
action.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# action.yml
|
||||||
|
name: 'Gitea Credentials'
|
||||||
|
description: 'Store git credentials for use with Gitea'
|
||||||
|
inputs:
|
||||||
|
user:
|
||||||
|
description: 'Git user'
|
||||||
|
required: true
|
||||||
|
password:
|
||||||
|
description: 'Git password'
|
||||||
|
required: true
|
||||||
|
runs:
|
||||||
|
using: 'docker'
|
||||||
|
image: 'Dockerfile'
|
||||||
|
args:
|
||||||
|
- "${{ inputs.user }}" "${{ inputs.password }}"
|
1
entrypoint.sh
Executable file
1
entrypoint.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
ls -lAF
|
Loading…
Reference in New Issue
Block a user