Skip to content

Commit

Permalink
update docker ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhan1993 committed Jan 6, 2025
1 parent aba125c commit 2bd5d4a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ name: Docker image build

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
branches:
- master
tags:
- v*

jobs:
build-and-push-image:
Expand Down Expand Up @@ -34,7 +35,7 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=edge,branch=main
type=edge,branch=master
- name: Build and push Docker image
uses: docker/build-push-action@v6
Expand Down

0 comments on commit 2bd5d4a

Please sign in to comment.