Skip to content

Create readme.md

Create readme.md #1

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
paths:
- "docker/**" # Only trigger if changes are in the client folder
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: Log in azure
uses: azure/login@v1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
client-secret: ${{ secrets.AZURE_CLIENT_SECRET }}
- name: Log in to Azure Container Registry
uses: azure/docker-login@v1
with:
login-server: adaptiveflow.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 docker
docker push adaptiveflow.azurecr.io/adaptive-flow:latest