feat: add Dockerfile #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docker-build-publish | |
# Trigger on all push events, new semantic version tags, and all PRs | |
on: | |
push: | |
branches: | |
- "main" | |
- "v[0-9].[0-9].x" | |
- "v[0-9].[0-9][0-9].x" | |
- "v[0-9].x" | |
tags: | |
- "v[0-9]+.[0-9]+.[0-9]+" | |
- "v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+" | |
- "v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+" | |
- "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+" | |
pull_request: | |
jobs: | |
docker-build: | |
permissions: | |
contents: write | |
packages: write | |
uses: rollkit/.github/.github/workflows/[email protected] | |
with: | |
dockerfile: Dockerfile | |
secrets: inherit |