Skip to content

Update README.md

Update README.md #10

Workflow file for this run

name: Deploy app
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASS }}
-
name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ secrets.DOCKER_USERNAME }}/brewabear:latest
file: Api/Dockerfile
-
name: Publish image to webapp
uses: azure/webapps-deploy@v2
with:
app-name: 'brewabear'
publish-profile: ${{ secrets.PublishProfile }}
images: 'docker.io/riebisv/brewabear:latest'