mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-20 00:25:02 +01:00
Add a new GitHub Actions workflow for building Docker images with the "compat" tag on the compat branch. Also update the existing nightly workflow to only run on the compat branch instead of all branches.
26 lines
673 B
YAML
26 lines
673 B
YAML
name: Docker Image CI (nightly)
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "*" # matches every branch that doesn't contain a '/'
|
|
- "*/*" # matches every branch containing a single '/'
|
|
- "**" # matches every branch
|
|
- "!dependabot/*"
|
|
- "!main" # excludes main
|
|
- "!compat" # excludes compat branch
|
|
|
|
jobs:
|
|
build-nightly:
|
|
uses: ./.github/workflows/docker-image.yml
|
|
with:
|
|
image_name: ${{ github.repository_owner }}/godoxy
|
|
tag: nightly
|
|
target: main
|
|
build-nightly-agent:
|
|
uses: ./.github/workflows/docker-image.yml
|
|
with:
|
|
image_name: ${{ github.repository_owner }}/godoxy-agent
|
|
tag: nightly
|
|
target: agent
|