mirror of
https://github.com/decolua/9router.git
synced 2026-05-08 12:01:28 +00:00
Update GitHub Actions workflow for Docker image
This commit is contained in:
21
.github/workflows/docker-publish.yml
vendored
21
.github/workflows/docker-publish.yml
vendored
@@ -1,27 +1,10 @@
|
||||
name: Build and Push Docker Image
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
# Uncomment to also build on master pushes (rolling latest).
|
||||
# Pair with concurrency + paths below to avoid excessive builds.
|
||||
# branches:
|
||||
# - master
|
||||
# paths:
|
||||
# - 'src/**'
|
||||
# - 'open-sse/**'
|
||||
# - 'public/**'
|
||||
# - 'package*.json'
|
||||
# - 'next.config.*'
|
||||
# - 'Dockerfile'
|
||||
release:
|
||||
types: [published]
|
||||
workflow_dispatch:
|
||||
|
||||
# Uncomment if re-enabling master push trigger.
|
||||
# concurrency:
|
||||
# group: docker-${{ github.ref }}
|
||||
# cancel-in-progress: true
|
||||
|
||||
env:
|
||||
REGISTRY: ghcr.io
|
||||
IMAGE_NAME: ${{ github.repository }}
|
||||
|
||||
Reference in New Issue
Block a user