Skip to content

Commit

Permalink
Update the action to use docker insted of JS
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrojnm committed Mar 21, 2023
1 parent f2d420a commit 4ef1a65
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 14,649 deletions.
18 changes: 0 additions & 18 deletions .eslintrc.json

This file was deleted.

8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Container image that runs your code
FROM civo/cli:latest

# 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"]
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ inputs:
description: 'Civo API Token'
required: true
runs:
using: 'node12'
main: 'dist/index.js'
using: 'docker'
image: 'civo/cli:latest'
Loading

0 comments on commit 4ef1a65

Please sign in to comment.