Create docker-image.yml

This commit is contained in:
2022-10-05 09:19:19 +03:00
committed by GitHub
parent e02acc1f9b
commit f864b82637
+20
View File
@@ -0,0 +1,20 @@
name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: |
cd LearnCollectInst.Api
docker build . --file Dockerfile --tag learncollectinst.api:$(date +%s)