Skip to content

Commit 9de10b3

Browse files
committed
CI: run for every branch, publish only on master
1 parent 17fdc66 commit 9de10b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Docker
22

33
on:
44
push:
5-
branches: master
5+
branches: ["*"]
66

77
jobs:
88
docker:
@@ -58,6 +58,7 @@ jobs:
5858
${{ runner.os }}-buildx-
5959
6060
- name: Build and push
61+
if: github.ref == 'refs/heads/master'
6162
uses: docker/build-push-action@v2
6263
with:
6364
context: ${{ matrix.version }}

0 commit comments

Comments
 (0)