Skip to content

update cicd

update cicd #18

Workflow file for this run

name: Azure Webapp deploy
on:
pull_request:
branches:
- develop
push:
branches:
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: azure/docker-login@v1
with:
# login-server: mycontainer.azurecr.io
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- run: |
docker build . -t mbuchoff/hackathon_230909:${{ github.sha }}
docker push mbuchoff/hackathon_230909:${{ github.sha }}
- uses: azure/webapps-deploy@v2
with:
app-name: 'app-hackathon'
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
images: 'mbuchoff/hackathon_230909:${{ github.sha }}'