Skip to content

try to fix build for arm64 #288

try to fix build for arm64

try to fix build for arm64 #288

Workflow file for this run

name: Deploy docker
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: git fetch --prune --unshallow --tags
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
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