Skip to content

Commit

Permalink
more workflow fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hawton <daniel@hawton.org>
  • Loading branch information
dhawton committed Sep 7, 2024
1 parent bca1c18 commit 1e4f5fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: "Build"

on:
push:
branches: ['master']
Expand All @@ -24,7 +26,7 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build Docker Image
run:
run: |
BASE_DISTRIBUTION=distroless HUB="${{ env.HUB }}" IMG="${{ env.IMG }}" TAG="${{ env.sha_short }}" make docker
BASE_DISTRUBITION=debug HUB="${{ env.HUB }}" IMG="${{ env.IMG }}" TAG="${{ env.sha_short }}-debug" make docker
- name: Push Docker Image
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: "Test Build"

on:
pull_request:
branches:
Expand Down

0 comments on commit 1e4f5fc

Please sign in to comment.