Add docker_action.yaml

This commit is contained in:
Hang Cui
2025-10-22 14:54:46 -07:00
parent 8ea1f8ad88
commit 7452612486
5 changed files with 60 additions and 29 deletions

View File

@@ -0,0 +1,25 @@
# Run git update-index --chmod=+x entrypoint.sh to enable execution of action
name: Docker Action
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Run Custom Action
id: custom-action
uses: ./.gitea/actions/docker-action
with: # provide input parameter to above action
name: 'Hang' # name is one of the inputs defined inside the actions action.yml
- name: Print Processed Name
run: |
echo "Processed Name: ${{ steps.custom-action.outputs.processed-name }}"
echo "workdir"
ls -la