Skip to content

build and push docker image #25

build and push docker image

build and push docker image #25

---
name: build and push docker image
on:
workflow_dispatch:
inputs:
path:
description: "path to directory containing the Dockerfile file, f.e. postgres-db-init"
required: true
type: string
jobs:
docker-build-push:
uses: "strg-at/github-workflows/.github/workflows/[email protected]"
with:
runner: '["ubuntu-latest"]'
subpath: ${{ inputs.path }}
file: ${{ inputs.path }}/Dockerfile
context: ${{ inputs.path }}
tags: |
${{ github.sha }}
type=raw, value=rolling