Created
April 19, 2018 22:15
-
-
Save Juice10/2e7ed7c33e1fde3ffd70cb6ca2c375fb to your computer and use it in GitHub Desktop.
Example manifest.yaml file with a Docker container for OpenWhisk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project: | |
# All of these params you will need to grab from your OpenWhisk credentials page | |
# In IBM Cloud Functions the url where you can get these is: | |
# https://console.bluemix.net/openwhisk/learn/api-key | |
apiHost: REPLACE-ME-WITH-YOUR-API-HOST-FOR-EXAMPLE | |
# example apiHost: openwhisk.ng.bluemix.net | |
credential: REPLACE-ME-WITH-YOUR-CREDENTIALS | |
# credential is the same as your API Key | |
namespace: REPLACE-ME-WITH-YOUR-NAMESPACE | |
# exmple namespace: cloud-foundry-org_cloud-foundry-space | |
packages: | |
# Packages group multiple actions into a package. | |
# You can call the packages whatever you'd like | |
MyOpenWhiskActionPackage: | |
version: 1.0 | |
license: Apache-2.0 | |
actions: | |
# You can list multiple actions here. | |
# Call the actions whatever you'd like `RubyAction` isn't that creative... | |
RubyAction: | |
docker: juice10/openwhisk-ruby | |
# make sure you link to a dockerhub username/repo here | |
# You can add more actions below, just uncomment the code and add your own... | |
# SecondAction: | |
# docker: your-username/docker-hub-repo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment