Skip to content

2.2.2

2.2.2 #13

Workflow file for this run

name: Build & Deploy
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
registry: rseadmin.azurecr.io
name: rseadmin.azurecr.io/api
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
tag_semver: true
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: 'Deploy to Azure Web App'
uses: azure/webapps-deploy@v2
with:
app-name: rseadmin
publish-profile: ${{ secrets.PUBLISH_PROFILE }}
images: rseadmin.azurecr.io/api:${{ github.ref_name }}