Skip to content

Commit

Permalink
chore: Add manual trigger to run build/push action (#404)
Browse files Browse the repository at this point in the history
Sometimes the GitHub action to push images does not get triggered
despite apparently all filter conditions being met.

Signed-off-by: Christian Kadner <[email protected]>
  • Loading branch information
ckadner authored Jul 21, 2023
1 parent ef26b75 commit da2f25a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build

on:
workflow_dispatch:
push:
branches:
- main
Expand Down Expand Up @@ -53,7 +54,7 @@ jobs:
driver-opts: network=host

- name: Login to DockerHub
if: github.event_name == 'push'
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USER }}
Expand Down

0 comments on commit da2f25a

Please sign in to comment.