Update docker_action.yaml

This commit is contained in:
Hang Cui
2025-10-22 15:09:04 -07:00
parent 7452612486
commit b09b3e038f
3 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM ubuntu:latest FROM ubuntu:22.04
COPY entrypoint.sh entrypoint.sh COPY entrypoint.sh entrypoint.sh

View File

@@ -1,10 +1,10 @@
#!/bin/sh -l #!/bin/sh -l
# get the input parameter # get the input parameter
echo "Arg received $1" echo "Arg received from entrypoint.sh: $1"
# list the working directory # list the working directory
echo "Workdir:" echo "Workdir from entrypoint.sh:"
ls -la ls -la
# get name and store it to name.txt # get name and store it to name.txt

View File

@@ -21,5 +21,5 @@ jobs:
- name: Print Processed Name - name: Print Processed Name
run: | run: |
echo "Processed Name: ${{ steps.custom-action.outputs.processed-name }}" echo "Processed Name: ${{ steps.custom-action.outputs.processed-name }}"
echo "workdir" echo "Workdir from docker_action.yaml"
ls -la ls -la