Skip to content

Commit

Permalink
Add dockerfile for spa action
Browse files Browse the repository at this point in the history
Signed-off-by: KeisukeYamashita <19yamashita15@gmail.com>
  • Loading branch information
KeisukeYamashita committed Dec 21, 2020
1 parent 27a543c commit fef9aef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
9 changes: 2 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
# Container image that runs your code
FROM alpine:3.10
FROM ghcr.io/kekeniker/spa:latest:v0.0.6

# 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"]
ENTRYPOINT ["spa"]
14 changes: 5 additions & 9 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
name: 'Hello World'
description: 'Greet someone and record the time'
name: 'action-spa'
description: 'GitHub Action for Spinnaker Admin tool'
inputs:
who-to-greet: # id of input
description: 'Who to greet'
command:
description: 'Command to run'
required: true
default: 'World'
outputs:
time: # id of output
description: 'The time we greeted you'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.who-to-greet }}
- ${{ inputs.command }}

0 comments on commit fef9aef

Please sign in to comment.