From 4a070a9d610a1955c90f7619055460729ae0ac60 Mon Sep 17 00:00:00 2001 From: Manuel Schmid <9307310+mashb1t@users.noreply.github.com> Date: Tue, 28 May 2024 00:49:47 +0200 Subject: [PATCH] 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 --- .github/workflows/build_container.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_container.yml b/.github/workflows/build_container.yml index 1e118a1f..eb70cda3 100644 --- a/.github/workflows/build_container.yml +++ b/.github/workflows/build_container.yml @@ -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