Skip to content

Create build.yml

Create build.yml #1

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
- name: "Build Docker image"
run: docker build . --file Dockerfile --tag cookbook:$(date +%s)