Skip to content

Docker Workflows

dfuchss edited this page May 24, 2023 · 2 revisions

docker.yml

Build and Publish a Docker Image

name: Docker with Push

on:
  push:
    branches:
      - 'main' # Build the latest develop-SNAPSHOT

  # Allows you to run this workflow manually from the Actions tab
  workflow_dispatch:

jobs:
  publish:
    uses: dfuchss/actions/.github/workflows/docker.yml@main
    with:
      image-name: "myimage"
      push: true

Clone this wiki locally