Skip to content

Update build-docker.yml #2

Update build-docker.yml

Update build-docker.yml #2

Workflow file for this run

name: Deploy to Amazon ECR
# on: workflow_dispatch
on:
push:
branches: [ "build-docker" ]
jobs:
build:
name: Build image
runs-on: ubuntu-latest
environment: production
steps:
- name: Trigger neuprint-cm build
run: |
curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/aplbrain/neuprint-cm/actions/workflows/ecr.yml/dispatches --data '{"ref": "master"}'