Skip to content

back to macos latest #219

back to macos latest

back to macos latest #219

Workflow file for this run

name: Deploy docker
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push devcontainer
uses: docker/build-push-action@v5
with:
context: .
push: true
target: builder
tags: ghcr.io/${{ github.repository }}:dev
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ghcr.io/${{ github.repository }}:latest
- name: Log in to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Build and deploy Container App
uses: azure/container-apps-deploy-action@v1
with:
imageToDeploy: ghcr.io/${{ github.repository }}:latest
containerAppName: webrtcstreamer
resourceGroup: deploy
targetPort: 8000