Files
Gitea_Action_Test/.gitea/actions/docker-action/entrypoint.sh
2025-10-22 15:09:04 -07:00

16 lines
312 B
Bash
Executable File

#!/bin/sh -l
# get the input parameter
echo "Arg received from entrypoint.sh: $1"
# list the working directory
echo "Workdir from entrypoint.sh:"
ls -la
# get name and store it to name.txt
name=$1
echo "$name" > name.txt
# output processed-name to GITHUB_OUTPUT
echo "processed-name=$name" >> $GITHUB_OUTPUT