Update docker.yml

This commit is contained in:
Dmitriy Pervin 2025-09-02 04:52:22 +05:00
parent 4c71e89b11
commit ef164c1474

View file

@ -2,6 +2,9 @@ name: Docker Build
on: on:
workflow_dispatch: workflow_dispatch:
push:
branches: [ main, master ]
tags: [ 'v*' ]
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
@ -40,7 +43,6 @@ jobs:
with: with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: | tags: |
type=raw,value=latest
type=ref,event=tag type=ref,event=tag
type=semver,pattern={{version}} type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}.{{minor}}