Compare commits
5 commits
Author | SHA1 | Date | |
---|---|---|---|
87a5a35b8f | |||
0a9fa2b000 | |||
34255d6260 | |||
14dd5e117c | |||
befb0a1973 |
2 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
# Container image that runs your code
|
# Container image that runs your code
|
||||||
FROM alpine:edge
|
FROM alpine
|
||||||
|
|
||||||
|
RUN apk add --no-cache ca-certificates
|
||||||
# Copies your code file from your action repository to the filesystem path `/` of the container
|
# Copies your code file from your action repository to the filesystem path `/` of the container
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
|
1
entrypoint.sh
Normal file → Executable file
1
entrypoint.sh
Normal file → Executable file
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/sh -l
|
#!/bin/sh -l
|
||||||
|
|
||||||
echo "Hello $1"
|
echo "Hello $1"
|
||||||
|
env
|
||||||
time=$(date)
|
time=$(date)
|
||||||
echo "time=$time" >> $GITHUB_OUTPUT
|
echo "time=$time" >> $GITHUB_OUTPUT
|
||||||
|
|
Loading…
Add table
Reference in a new issue