feat(GHA): configurable SHOW_UPCOMING_CHANGES (#63395)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Mrugesh Mohapatra
2025-11-02 18:45:47 +05:30
committed by GitHub
parent 2d65f11e0f
commit 982d0fb290
4 changed files with 44 additions and 2 deletions
+11
View File
@@ -16,6 +16,11 @@ on:
type: string
description: 'Input: The app (component) to build'
default: 'api'
show_upcoming_changes:
required: false
type: string
description: 'Input: Show upcoming changes flag (true/false)'
default: 'false'
workflow_call:
inputs:
site_tld:
@@ -26,6 +31,11 @@ on:
required: true
type: string
description: 'Input: The app (component) to build'
show_upcoming_changes:
required: false
type: string
description: 'Input: Show upcoming changes flag (true/false)'
default: 'false'
outputs:
tagname:
description: 'Output: The tagname for the image built'
@@ -54,6 +64,7 @@ jobs:
- name: Build & Tag Image
run: |
docker build \
--build-arg SHOW_UPCOMING_CHANGES=${{ inputs.show_upcoming_changes }} \
--tag registry.digitalocean.com/${{ secrets.DOCR_NAME }}/${{ inputs.site_tld }}/learn-${{ inputs.app }}:$tagname \
--tag registry.digitalocean.com/${{ secrets.DOCR_NAME }}/${{ inputs.site_tld }}/learn-${{ inputs.app }}:latest \
--file docker/${{ inputs.app }}/Dockerfile .