Skip to content

Update readme.md

Update readme.md #3

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@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_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