# # To be able to use this action (with Gitea and Act Runner), # this action.yml file has to be placed in the root of the repository. # It is also important that a Git TAG is created (for example 'v1') # Then workflows can use this action like this: # 'using: https://gitea.coursow.de/Test-Playground/actions-custom-docker@v1' # # Name and Description of the Action (Like displayed in GitHub Marketplace Overview) name: 'Print Fibonacci Numbers (Docker Version)' description: 'Prints a sequence of fibonacci numbers' inputs: iterations: description: 'The maximum amount of iterations to produce fibonacci numbers' required: false default: '10' outputs: lastNumber: description: 'The last fibonacci number printed during the execution of the action' # value: ... # The value key is not needed (like nedded with composite actions) because the main.js will set the ouput value runs: using: 'docker' # Must be 'docker' for a custom docker action image: 'Dockerfile' # The Dockerfile to build a docker image which will be used to execute the action #image: 'docker://debian:stretch-slim' # Could also use an existing dockerhub image #pre-entrypoint: 'setup.sh' #entrypoints: 'main.sh' #args: # - 'bzz'