Skip to content

Update Blob2Scan.cs

Update Blob2Scan.cs #7

name: Build and Push Docker image
on:
push:
branches:
- main
paths:
- 'BlobScanFunctionApp/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
context: ./BlobScanFunctionApp
file: ./BlobScanFunctionApp/Dockerfile
push: true
tags: ezio22/blob-scan-function-app:latest