improved release workflow

This commit is contained in:
Yannic Kilcher
2022-12-24 23:55:20 +01:00
parent ce92f184c5
commit 5284e30202
2 changed files with 22 additions and 3 deletions
+6 -2
View File
@@ -3,7 +3,10 @@ name: Build
on:
workflow_call:
inputs:
folder:
dockerfile:
required: true
type: string
context:
required: true
type: string
image-name:
@@ -48,7 +51,8 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@v3.2.0
with:
context: ${{ inputs.folder }}
file: ${{ inputs.dockerfile }}
context: ${{ inputs.context }}
build-args: ${{ inputs.build-args }}
push: true
tags: ${{ steps.meta.outputs.tags }}