Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rgstephens committed Nov 29, 2024
1 parent 4ce3383 commit f505933
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions .github/workflows/build-action-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,21 @@ on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Build an action server
uses: RasaHQ/rasa-action-server-gha@main
with:
actions_directory: './actions'
# requirements_file: actions/requirements.txt
docker_image_name: 'stephens/action-server-example'
# More details on how to use GitHub secrets:
# https://docs.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets
docker_registry_login: stephens
docker_registry_password: ${{ secrets.DOCKER_HUB_PASSWORD }}
# More details about github context:
# https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context
docker_image_tag: ${{ github.sha }}
docker:
name: Build Action Server Docker Image
runs-on: ubuntu-latest
env:
DOCKERHUB_USERNAME: stephens
steps:
- name: Checkout git repository 🕝
uses: actions/checkout@v2
- name: Build Actions Server Image
uses: RasaHQ/rasa-action-server-gha@main
with:
actions_directory: 'actions'
# requirements_file: 'actions/requirements-actions.txt'
docker_registry_login: ${{ env.DOCKERHUB_USERNAME }}
docker_registry_password: ${{ secrets.DOCKERHUB_PASSWORD }}
docker_image_name: 'stephens/action-server-example'
docker_image_tag: 'latest'
rasa_sdk_version: '3.10.1'

0 comments on commit f505933

Please sign in to comment.