Docker Image CI (nightly) #76
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: Docker Image CI (nightly) | |
on: | |
schedule: | |
- cron: '35 10 * * *' # 10:35am UTC, 2:35am PST, 5:35am EST | |
release: | |
types: [published] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Login to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- uses: actions/checkout@v3 | |
- name: Build and push the Docker image (letta) | |
run: | | |
docker build . --file Dockerfile --tag letta/letta:nightly | |
docker push letta/letta:nightly |