Skip to content

Commit

Permalink
add branch testing
Browse files Browse the repository at this point in the history
  • Loading branch information
peakematt authored Dec 1, 2023
1 parent d190e48 commit f4f5a95
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build and Deploy Docker
on:
push:
branches-ignore: [ main ]

jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@master

- name: Build Container
run: docker build . -t ghcr.io/${{ github.repository }}:${{ github.sha }}

- name: Scan container for issues
uses: Azure/[email protected]
with:
image-name: ghcr.io/${{ github.repository }}:${{ github.sha }}

0 comments on commit f4f5a95

Please sign in to comment.