Skip to content

Commit

Permalink
ci: Push docker images only when new tag is pushed
Browse files Browse the repository at this point in the history
... but run the pipeline on release/* branches, so we can verify that
they build before merging to master and tagging.
  • Loading branch information
martinhpedersen committed Oct 18, 2023
1 parent a02a25c commit 27f616e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: docker-push
on:
push:
branches:
- 'docker'
- 'master'
- 'ci-test/*'
- 'release/*'
tags:
- 'v*'

Expand All @@ -20,7 +20,6 @@ jobs:
with:
images: la5nta/pat
tags: |
type=ref,event=branch
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
- name: Set up QEMU
Expand Down

0 comments on commit 27f616e

Please sign in to comment.