Skip to content

Commit

Permalink
feat: build docker image tagged "edge" on push to main branch (lllyas…
Browse files Browse the repository at this point in the history
…viel#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
  • Loading branch information
mashb1t authored May 27, 2024
1 parent 0e621ae commit 4a070a9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build_container.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4a070a9

Please sign in to comment.