Skip to content

Commit

Permalink
feat: remove Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
runlevel5 committed Jun 24, 2024
1 parent 549ce0b commit eb55a75
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 29 deletions.
8 changes: 0 additions & 8 deletions .containerignore

This file was deleted.

17 changes: 0 additions & 17 deletions Dockerfile

This file was deleted.

18 changes: 16 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,19 @@ outputs:
description: "Decrypted JSON content"

runs:
using: "docker"
image: "Dockerfile"
using: "composite"
steps:
- id: install-ejsonkms
run: sudo --preserve-env ${GITHUB_ACTION_PATH}/install-deps.sh
shell: bash
- id: install-nodejs
uses: actions/setup-node@v4
with:
node-version: 20
- id: npm-ci
name: Install Dependencies
run: npm ci
shell: bash
- id: entrypoint
run: node ${GITHUB_ACTION_PATH}/index.js
shell: bash
6 changes: 4 additions & 2 deletions install-deps.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
set -o pipefail

architecture=""
machine=$(uname -m)
Expand All @@ -14,4 +16,4 @@ curl -sLo ejsonkms.tar.gz https://github.com/envato/ejsonkms/releases/download/v
tar xfvz ejsonkms.tar.gz &>/dev/null && \
mv ejsonkms /usr/local/bin/ && \
chmod +x /usr/local/bin/ejsonkms && \
rm ejsonkms.tar.gz
rm ejsonkms.tar.gz

0 comments on commit eb55a75

Please sign in to comment.