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:
Manuel Schmid 2024-05-28 00:49:47 +02:00 committed by GitHub
parent 0e621ae34e
commit 4a070a9d61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 2 deletions

View File

@ -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