Skip to content

Update next.config.js #15

Update next.config.js

Update next.config.js #15

Workflow file for this run

name: Push Docker Image to ACR on Merge to Main
on:
push:
branches:
- main
jobs:
push:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Azure Container Registry
uses: azure/docker-login@v1
with:
login-server: ${{ secrets.REGISTRY_LOGIN_SERVER }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build and Push to ACR
uses: docker/build-push-action@v2
with:
push: true
tags: ${{ secrets.REGISTRY_LOGIN_SERVER }}/next-hello-world:${{ github.sha }}
file: Dockerfile