[+] Docker workflow

This workflow checks the well being of the main Docker image of the Servii's backend
This commit is contained in:
charleslemaux 2024-07-15 16:28:16 +01:00 committed by GitHub
parent cfec606d23
commit df2eaeb88c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

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