Rename count_error to inc_error_callback (#10) #16
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 push | |
permissions: | |
contents: read | |
id-token: write | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
docker_push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Configure AWS | |
uses: aws-actions/configure-aws-credentials@010d0da01d0b5a38af31e9c3470dbfdabdecca3a # v 4.0.1 | |
with: | |
role-to-assume: ${{ secrets.iam_role }} | |
role-session-name: docker_build_public | |
aws-region: us-east-1 | |
- uses: actions/checkout@v4 | |
- run: | | |
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/doctolib | |
cd neurow | |
docker buildx build . --push -t public.ecr.aws/doctolib/neurow:latest -t public.ecr.aws/doctolib/neurow:latest -t public.ecr.aws/doctolib/neurow:${{ github.event.pull_request.head.sha || github.event.after || github.sha }} |