Skip to content

Commit

Permalink
Merge pull request #233 from yamadashy/fix/docker-release-trigger
Browse files Browse the repository at this point in the history
ci(docker): Fix workflow trigger from tag to main branch push
  • Loading branch information
yamadashy authored Dec 31, 2024
2 parents faa5656 + 89e778e commit 53c17c5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ name: Docker

on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
branches:
- "main"
paths-ignore:
- "**.md"
- LICENSE
pull_request:
branches:
- "*"
Expand Down Expand Up @@ -38,7 +41,7 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}
type=semver,pattern={{major}}.{{minor}}
type=raw,value=latest
type=raw,value=latest,enable=${{ github.event_name == 'release' }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down

0 comments on commit 53c17c5

Please sign in to comment.