Skip to content

Commit

Permalink
Docker: run Docker buildx on PR and manually
Browse files Browse the repository at this point in the history
This updates our Docker build configuration to also run on pull request,
as well as allowing for on-demand builds with the `workflow_dispatch`
option.
  • Loading branch information
mockdeep committed Jan 23, 2024
1 parent c485f4b commit 6c24e5c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Build Docker image and push to Dockerhub

on:
push
push:
pull_request:
workflow_dispatch:

env:
IMAGE_NAME: stringerrss/stringer

jobs:
buildx:
build_docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 6c24e5c

Please sign in to comment.