From de059fa22fc652352cdf177a8501a64fa9d5116e Mon Sep 17 00:00:00 2001 From: Hunia Fatima Date: Tue, 15 Oct 2024 09:35:15 +0500 Subject: [PATCH] fix: added the correct targets --- .github/workflows/push-edx-platform-images.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/push-edx-platform-images.yml b/.github/workflows/push-edx-platform-images.yml index d72dc44..0408c54 100644 --- a/.github/workflows/push-edx-platform-images.yml +++ b/.github/workflows/push-edx-platform-images.yml @@ -21,10 +21,10 @@ jobs: strategy: matrix: variant: - - { tag: 'lms_dev', port: '8000' } - - { tag: 'cms_dev', port: '8000' } - - { tag: 'cms', port: '8010' } - - { tag: 'lms', port: '8010' } + - { tag: 'lms_dev', port: '8000', target: 'development' } + - { tag: 'cms_dev', port: '8000', target: 'development' } + - { tag: 'cms', port: '8010', target: 'production'} + - { tag: 'lms', port: '8010', target: 'production' } steps: - name: Get tag name @@ -54,7 +54,7 @@ jobs: with: file: ./dockerfiles/edx-platform.Dockerfile push: true - target: dev + target: ${{ matrix.variant.target }} build-args: | SERVICE_VARIANT: ${{ matrix.variant.tag }} SERVICE_PORT: ${{ matrix.variant.port }}