Skip to content

Commit 3223b7e

Browse files
committed
chore: update GitHub Actions workflow to include Docker build step
This commit modifies the `qa.yml` workflow file to add a step for building the Docker container. The change ensures that the workflow can handle Docker builds during pull requests and pushes, enhancing the CI/CD process.
1 parent 8ec2804 commit 3223b7e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/qa.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ jobs:
154154
bun run build
155155
env:
156156
NEXT_PUBLIC_POSTHOG_KEY: ${{ secrets.NEXT_PUBLIC_POSTHOG_KEY }}
157+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
157158

158159
- name: Build Docker container
159160
if: github.event_name == 'pull_request' || github.event_name == 'push'
@@ -169,7 +170,8 @@ jobs:
169170
uses: settlemint/shared-actions/.github/actions/build-status-labeler@main
170171
with:
171172
pr_number: ${{ github.event.pull_request.number }}
172-
workflow_status: ${{ steps.qa-tests.outcome == 'success' && 'success' || 'failure' }}
173+
workflow_status:
174+
${{ steps.qa-tests.outcome == 'success' && 'success' || 'failure' }}
173175

174176
# Skip redundant notification - handled by consolidated step at the end
175177

@@ -233,7 +235,8 @@ jobs:
233235
with:
234236
pr_number: ${{ github.event.pull_request.number }}
235237
is_draft: ${{ github.event.pull_request.draft }}
236-
has_approval: ${{ steps.pr-review-check.outputs.has_approval == 'true' }}
238+
has_approval:
239+
${{ steps.pr-review-check.outputs.has_approval == 'true' }}
237240
qa_status: ${{ steps.pr-review-check.outputs.qa_status }}
238241

239242
# Consolidated Slack notification - updates existing message or creates one if needed
@@ -264,7 +267,8 @@ jobs:
264267
pr_number: ${{ github.event.pull_request.number }}
265268
pr_author: ${{ github.event.pull_request.user.login }}
266269
pr_author_type: ${{ github.event.pull_request.user.type }}
267-
has_approval: ${{ steps.pr-review-check.outputs.has_approval == 'true' }}
270+
has_approval:
271+
${{ steps.pr-review-check.outputs.has_approval == 'true' }}
268272
qa_status: ${{ steps.pr-review-check.outputs.qa_status }}
269273
is_draft: ${{ github.event.pull_request.draft }}
270274
merge_method: "squash"

0 commit comments

Comments
 (0)