mirror of
https://github.com/d0zingcat/BroadcastChannel.git
synced 2026-05-14 07:26:50 +00:00
feat: add main branch trigger to Docker workflow
Enhance Docker image creation by automating the process on main branch pushes, reducing manual intervention and ensuring timely updates.
This commit is contained in:
5
.github/workflows/docker.yml
vendored
5
.github/workflows/docker.yml
vendored
@@ -1,8 +1,11 @@
|
||||
# Docker build and push workflow
|
||||
name: Create and publish a Docker image
|
||||
|
||||
# Triggered by workflow_dispatch
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
# Triggered by workflow_dispatch
|
||||
workflow_dispatch:
|
||||
|
||||
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
|
||||
|
||||
Reference in New Issue
Block a user