Skip to content

Update docker-build.yaml #83

Update docker-build.yaml

Update docker-build.yaml #83

Workflow file for this run

name: Build Docker Image
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: dz-arc-controller
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker image
uses: docker/build-push-action@v6
with:
context: .
push: false
tags: nextjs-app:latest
cache-from: type=gha
cache-to: type=gha,mode=max