Skip to content

Commit

Permalink
Create docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelros authored May 16, 2024
1 parent 369297b commit 44ccc41
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Docker

on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
workflow_dispatch:

jobs:
build:
runs-on: [self-hosted, default]
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

0 comments on commit 44ccc41

Please sign in to comment.