Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Commit 2a2a391

Browse files
committed
check empty changes
Signed-off-by: Anastassios Nanos <[email protected]>
1 parent 36abdcd commit 2a2a391

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Diff for: .github/workflows/build-trigger.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
branches: ["main"]
66
push:
7-
branches: ["main", "staging"]
7+
branches: ["main", "staging", "feat_test_changes"]
88
workflow_dispatch: # build on demand
99
#schedule:
1010
# - cron: "43 6 * * 0" # build every Sunday at 6:43 AM UTC
@@ -43,11 +43,13 @@ jobs:
4343
run: |
4444
echo "Files in dockerfile: ${{ steps.filter.outputs.dockerfile_files }}"
4545
echo "Files in go: ${{ steps.filter.outputs.go_files }}"
46+
echo "dockerfile: ${{ steps.filter.outputs.dockerfile}}"
47+
echo "go: ${{ steps.filter.outputs.go}}"
4648
4749
build-pun:
4850
needs: [get-changed-files]
4951
name: Pun
50-
if: ${{ needs.get-changed-files.outputs.go || needs.get-changed-files.outputs.dockerfile }}
52+
if: ${{ needs.get-changed-files.outputs.go == 'true' || needs.get-changed-files.outputs.dockerfile == 'true' }}
5153
uses: ./.github/workflows/build.yml
5254
secrets: inherit
5355
with:

Diff for: .github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ jobs:
168168
echo "$amend_command"
169169
170170
# Create the docker manifest with the amend command
171-
docker manifest create ${{ env.REGISTRY }}/${{ github.repository }}/:${{ env.TAG }} $amend_command
171+
docker manifest create ${{ env.REGISTRY }}/${{ github.repository }}:${{ env.TAG }} $amend_command
172172
173173
# Optionally push the manifest (comment out if not needed)
174174
# docker manifest push ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.dockerfile }}:${{ env.TAG }}

0 commit comments

Comments
 (0)