Merge pull request #182 from Datura-ai/main #58
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: "CD: validator (prod)" | |
on: | |
push: | |
branches: | |
- 'prod_validator' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
TAG: "latest" | |
DOCKERHUB_PAT: ${{ secrets.DOCKERHUB_PAT }} | |
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Make scripts executable | |
run: | | |
chmod +x neurons/validators/docker_publish.sh | |
chmod +x neurons/validators/docker_runner_publish.sh | |
- name: Run docker_publish.sh | |
run: | | |
cd neurons/validators | |
./docker_publish.sh | |
- name: Run docker_runner_publish.sh | |
run: | | |
cd neurons/validators | |
./docker_runner_publish.sh |