Update docker_action.yaml
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:22.04
|
||||||
|
|
||||||
COPY entrypoint.sh entrypoint.sh
|
COPY entrypoint.sh entrypoint.sh
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user