feat: example docker action
This commit is contained in:
parent
76cd7e4d2d
commit
54b8fdc8f1
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
# Container image that runs your code
|
||||
FROM alpine:3.10
|
||||
|
||||
# Copies your code file from your action repository to the filesystem path `/` of the container
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
# Code file to execute when the docker container starts up (`entrypoint.sh`)
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
6
action.yml
Normal file
6
action.yml
Normal file
@ -0,0 +1,6 @@
|
||||
# action.yml
|
||||
name: 'Test Docker'
|
||||
description: 'Test Docker'
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
3
entrypoint.sh
Executable file
3
entrypoint.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh -l
|
||||
|
||||
sleep 60
|
Loading…
Reference in New Issue
Block a user