Skip to content

Commit 392009e

Browse files
refactor(docker-build-push): streamline build args by removing dynamic-build-args and consolidating into build-args
1 parent 2b4f0e5 commit 392009e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/docker-build-push.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ jobs:
4444
VITE_API_INTERNAL_PORT=8081
4545
BUILD_MODE=production
4646
VITE_PORT=3000
47-
dynamic-build-args: |
48-
VITE_APP_VERSION=${{ steps.extract_version.outputs.version }}
49-
VITE_PUBLIC_API_URL=${{ inputs.API_URL || vars.API_URL || 'http://localhost:8081' }}
5047
- id: skillforge-gateway
5148
path: server/skillforge-gateway
5249
image: server-gateway
@@ -115,7 +112,8 @@ jobs:
115112
cache-to: type=registry,ref=ghcr.io/aet-devops25/team-git-it-together/${{ matrix.image }}-cache,mode=max
116113
build-args: |
117114
${{ matrix.build-args }}
118-
${{ matrix.dynamic-build-args || '' }}
115+
VITE_APP_VERSION=${{ steps.extract_version.outputs.version }}
116+
VITE_PUBLIC_API_URL=${{ inputs.API_URL || vars.API_URL || 'http://localhost:8081' }}
119117
120118
- name: Clean up dangling images
121119
run: |

0 commit comments

Comments
 (0)