Skip to content

Commit

Permalink
removed branch builds, use PR instead, avoids double builds
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippMundhenk committed Sep 23, 2024
1 parent 25f60ce commit 4a9be27
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
name: Create and publish a Docker image on master
name: Master: Create and publish a Docker image

# Configures this workflow to run every time a change is pushed to the branch called `master`.
on:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publishBranchesPRs.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#
name: Create and publish a Docker image on a branch
name: PR: Create and publish a Docker image

# Configures this workflow to run every time a change is pushed to any branch not called `master` and on PR event.
# Build when a PR is created
on:
pull_request:
push:
branches:
- '*'
- '!master'
#push:
# branches:
# - '*'
# - '!master'

# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
env:
Expand Down

0 comments on commit 4a9be27

Please sign in to comment.