aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/docker-publish.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/docker-publish.yml')
-rw-r--r--.github/workflows/docker-publish.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index dd6e2d8..387709b 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -2,6 +2,8 @@ name: Docker
on:
push:
+ branches:
+ - master
tags:
- '*'
@@ -57,6 +59,9 @@ jobs:
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
+ tags: |
+ type=ref,event=tag
+ type=edge,branch=master
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action