Created
December 1, 2020 19:40
-
-
Save JustinaPetr/9d989e9e6e989be6b73ebcae0af8b506 to your computer and use it in GitHub Desktop.
This file contains 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
name: Action Server | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- 'actions/**' | |
jobs: | |
my_first_job: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout git repository | |
uses: actions/checkout@v2 | |
- name: Action Server | |
uses: RasaHQ/action-server-gha@v1.0.2 | |
with: | |
# Path to the directory with actions. | |
actions_directory: ./actions | |
# Path to the requirements.txt file. | |
requirements_file: ./actions/requirements-actions.txt | |
# Name of the docker registry which the Docker image should be published to. | |
docker_registry: docker.io | |
# Login name for the Docker registry. | |
docker_registry_login: ${{ secrets.DOCKER_HUB_LOGIN }} | |
# Password for the Docker registry. | |
docker_registry_password: ${{ secrets.DOCKER_HUB_PASSWORD }} | |
# Docker image name. | |
docker_image_name: ${{ secrets.DOCKER_HUB_LOGIN }}/helpdesk_action_server | |
# Docker image tag. | |
docker_image_tag: 1 | |
# Push a docker image to the registry. If `False` the user can add manual extra steps in their workflow which use the built image. | |
docker_registry_push: true | |
# Path to a custom Dockerfile. | |
dockerfile: Dockerfile | |
# Version of the Rasa SDK which should be used to build the image. | |
rasa_sdk_version: latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment