Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
okhanyu committed Jul 12, 2024
1 parent 1bf83cc commit 2612a22
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ name: Docker Image CI
on:
push:
tags:
- "v*"
branches:
- "master"
- 'v*'

jobs:
build:
Expand Down Expand Up @@ -49,11 +47,12 @@ jobs:
images: |
${{ github.repository_owner }}/minichat
ghcr.io/${{ github.repository_owner }}/minichat
# ${{ env.REGISTRY }}/${{ github.repository }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}.{{minor}}
- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 2612a22

Please sign in to comment.