Skip to content

Commit dba59b4

Browse files
committed
Test github actions
1 parent a18c8bc commit dba59b4

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
name: CI
2-
on:
3-
push:
4-
branches:
5-
- master@kool-dev/docker-toolkit
6-
pull_request:
7-
branches:
8-
- '*'
2+
on: [push, pull_request]
93

104
jobs:
115
build:
@@ -36,7 +30,7 @@ jobs:
3630
runs-on: ubuntu-latest
3731
steps:
3832
- name: Push to Hub
39-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
33+
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'kool-dev/docker-toolkit'
4034
env:
4135
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
4236
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

0 commit comments

Comments
 (0)