Skip to content

build and push docker image #33

build and push docker image

build and push docker image #33

---
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/docker-build-push-github.yaml@1f437ffcac108449db2ed508622e8593574b1a1d" # v1.7.0
with:
runner: '["ubuntu-latest"]'
subpath: ${{ inputs.path }}
file: ${{ inputs.path }}/Dockerfile
context: ${{ inputs.path }}
tags: |
${{ github.sha }}
type=raw, value=rolling