mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
feat: build docker image tagged "edge" on push to main branch (#3026)
* feat: build docker image on push to main branch * feat: add tag "edge" for main when building the docker image * feat: update name of build container workflow
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
name: Create and publish a container image
|
||||
name: Docker image build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
tags:
|
||||
- 'v*'
|
||||
- v*
|
||||
|
||||
jobs:
|
||||
build-and-push-image:
|
||||
@@ -33,6 +35,7 @@ jobs:
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
type=semver,pattern={{major}}
|
||||
type=edge,branch=main
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
|
||||
Reference in New Issue
Block a user