Skip to content

Commit

Permalink
Test dev sdk images
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchariGr committed May 29, 2024
1 parent 33837bf commit dcd401a
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/rasa-sdk-dev-docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
name: Create Dev Docker Images

on:
schedule:
# Run cron job at 8AM Monday to Sunday.
- cron: '0 8 * * *'
workflow_dispatch:
push:
branches:
- dev-docker-images
# schedule:
# # Run cron job at 8AM Monday to Sunday.
# - cron: '0 8 * * *'
# workflow_dispatch:

env:
AWS_REGION: us-east-1
REPOSITORY: 329710836760.dkr.ecr.us-east-1.amazonaws.com/rasa-sdk
REPOSITORY: 329710836760.dkr.ecr.us-east-1.amazonaws.com/rasa-sdk-dev
DEFAULT_PYTHON_VERSION: "3.10"

permissions:
Expand Down Expand Up @@ -50,10 +53,11 @@ jobs:
version: v0.5.1
driver: docker

- name: Build, tag, and push image to Amazon ECR
env:
IMAGE_TAG: ${{ env.IMAGE_TAG }}
- name: Build docker image
run: |
docker buildx bake --load
- name: Tag and push docker image to AWS
run: |
docker tag rasa/rasa-sdk:main $REPOSITORY:latest
docker push $REPOSITORY:latest

0 comments on commit dcd401a

Please sign in to comment.