Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thekeenant authored Dec 2, 2023
1 parent cd307d8 commit 6d0eff0
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Build on pull request
on:
pull_request:
jobs:
build-and-push-docker-image:
name: Build Docker image and publish
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build image and push to Docker Hub and GitHub Container Registry
uses: docker/build-push-action@v2
with:
context: ./
push: false

0 comments on commit 6d0eff0

Please sign in to comment.