Skip to content
This repository has been archived by the owner on Nov 26, 2022. It is now read-only.

Commit

Permalink
Update workflow logic
Browse files Browse the repository at this point in the history
  • Loading branch information
zugao committed Feb 20, 2020
1 parent 2fa577f commit 74b9b63
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Build images for Docker Hub
on:
push:
branches:
- master
on: push
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -28,4 +25,5 @@ jobs:
--tag owasp/modsecurity:$(./version.sh ${{ matrix.image }} -vvv)

- name: Push ${{ matrix.image }}
if: github.ref == 'refs/heads/master'
run: docker push owasp/modsecurity

0 comments on commit 74b9b63

Please sign in to comment.