Initial commit

This commit is contained in:
Annika Backstrom 2024-03-31 23:40:51 +01:00
commit e27ded4de0
3 changed files with 24 additions and 0 deletions

8
Dockerfile Normal file
View 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
View 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
View File

@ -0,0 +1 @@
ls -lAF