Skip to content

Commit

Permalink
Making sure main branch gets tagged as latest in docker hub
Browse files Browse the repository at this point in the history
  • Loading branch information
sam159 committed Jun 22, 2024
1 parent f936e9b commit 89e9d91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Dockerhub Publish

on:
push:
branches: [ "main", "develop" ]
branches: [ "main", "develop", "feature/*" ]
tags: [ "v*" ]
pull_request:
branches: [ "main" ]
Expand All @@ -27,6 +27,7 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
type=raw,value=latest,enable={{is_default_branch}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
Expand Down

0 comments on commit 89e9d91

Please sign in to comment.