Skip to content

fix cannot drop view v_instrument_telemetry because other objects dep… #55

fix cannot drop view v_instrument_telemetry because other objects dep…

fix cannot drop view v_instrument_telemetry because other objects dep… #55

Workflow file for this run

name: Build SQL Migrator Develop
on:
push:
branches: [develop]
paths:
- "migrate/common/*"
- "migrate/develop/*"
- "migrate/Dockerfile"
- ".github/workflows/sql-develop.yml"
workflow_dispatch:
jobs:
APIDockerImage:
name: SQL Migratior Image Develop
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Configure AWS credentials
if: ${{ always() }}
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.CWBICI_DEVELOP_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.CWBICI_DEVELOP_AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.CWBICI_DEVELOP_AWS_REGION }}
- name: Login to Amazon ECR
if: ${{ success() }}
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- name: Build, tag, and push image to Amazon ECR (midas-sql)
if: ${{ success() }}
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: midas-sql
run: |
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:develop migrate
docker push $ECR_REGISTRY/$ECR_REPOSITORY:develop
- name: Logout of Amazon ECR
if: ${{ always() }}
run: docker logout ${{ steps.login-ecr.outputs.registry }}