diff --git a/Dockerfile b/Dockerfile index fa0188a..61c38e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/action.yml b/action.yml index 9b136f8..0aff2d5 100644 --- a/action.yml +++ b/action.yml @@ -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 }}