try to disable lld #230
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |