Skip to content

Containerize app and add Docker CI #1

Containerize app and add Docker CI

Containerize app and add Docker CI #1

Workflow file for this run

name: Docker CI
on:
push:
pull_request:
workflow_dispatch:
# The workflow only needs to read repository contents; it does not publish images.
permissions:
contents: read
jobs:
build:
name: Build container image
runs-on: ubuntu-latest
steps:
- name: Check out source
uses: actions/checkout@v6
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build image
uses: docker/build-push-action@v6
with:
context: .
push: false
tags: interview-simulator:ci
cache-from: type=gha
cache-to: type=gha,mode=max