Extract docker image building during CI to its own workflow

This commit is contained in:
Alejandro Celaya
2023-01-21 09:57:35 +01:00
parent de5b895fad
commit 407134bab1
4 changed files with 40 additions and 18 deletions

View File

@@ -0,0 +1,14 @@
name: Build docker image
on:
pull_request:
paths:
- './Dockerfile'
jobs:
build-docker-image:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- run: docker build -t shlink-docker-image:temp .