Skip to content

Commit

Permalink
fix: Dockerize the action, node16 not supported by github actions yet
Browse files Browse the repository at this point in the history
  • Loading branch information
George Penkov committed Oct 20, 2021
1 parent fc9aa9d commit e397486
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM node:16-alpine
COPY dist dist
ENTRYPOINT [ "node", "/dist/index.js" ]
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ outputs:
description: >-
AMI id of the newly created AMI image snapshot.
runs:
using: node12
main: ./dist/index.js
using: 'docker'
main: 'Dockerfile'

0 comments on commit e397486

Please sign in to comment.