Skip to content

Update readme.md

Update readme.md #5

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
paths:
- "docker/**"
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Log in to Azure
uses: azure/login@v2
with:
creds: '{"clientId":"${{ secrets.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ secrets.AZURE_TENANT_ID }}"}'
- name: Log in to Azure Container Registry
uses: azure/docker-login@v1
with:
login-server: myregistry.azurecr.io
username: ${{ secrets.AZURE_REGISTRY_USERNAME }}
password: ${{ secrets.AZURE_REGISTRY_PASSWORD }}
- name: Build and Push Docker Image
run: |
docker build -t adaptiveflow.azurecr.io/adaptive-flow:latest docker
docker push adaptiveflow.azurecr.io/adaptive-flow:latest