Skip to content

Feat/external language tool (#172) #118

Feat/external language tool (#172)

Feat/external language tool (#172) #118

name: Deploy to Azure Container Registry
on:
push:
branches:
- main
- development
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout GitHub Action
uses: actions/checkout@main
- name: Build and push image
uses: azure/docker-login@v2
with:
login-server: ${{ secrets.REGISTRY_LOGIN_SERVER }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- run: |
docker build . --build-arg AZURE_BLOB_SIGNATURES_CONNECTION_STRING="${{ secrets.AZURE_BLOB_SIGNATURES_CONNECTION_STRING }}" -t ${{ secrets.REGISTRY_LOGIN_SERVER }}/ctk-functions:${{ github.ref_name }}
docker push ${{ secrets.REGISTRY_LOGIN_SERVER }}/ctk-functions:${{ github.ref_name }}