Merge branch 'dev' of github.com:klar-mx/pg-migration-tool into dev #4
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 | |
on: | |
push: | |
branches: [ "dev" ] | |
pull_request: | |
branches: [ "dev" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: [self-hosted] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build the Docker image | |
run: docker build . --file Dockerfile --tag pg-migration-tool:latest | |
- name: login to ECR | |
run: aws ecr get-login-password --region us-east-2 | docker login --username AWS --password-stdin 490628988712.dkr.ecr.us-east-2.amazonaws.com |