Create docker-image.yml

This commit is contained in:
Guillaume Dorce 2023-05-26 12:34:38 +02:00 committed by GitHub
parent 19379d3cf0
commit 3c36d1c169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

21
.github/workflows/docker-image.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Docker Image CI
on:
push:
branches: [ "main" ]
tags:
- 'v*.*'
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker build . --file Dockerfile --tag pchl:$(date +%s)