Merge pull request #40 from Pearson-Advance/vue/PADV-832 #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tutor Build Action Test | |
on: | |
push: | |
branches: | |
- 'pearson-release/olive.stage' | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get current time | |
uses: josStorer/get-current-time@v2 | |
id: current-time | |
with: | |
format: YYYY-MM-DD-HH-mm | |
- name: Build Image | |
uses: Pearson-Advance/[email protected] | |
with: | |
python-version: ${{ vars.BUILD_PYTHON_VERSION }} | |
tutor-version: ${{ vars.BUILD_TUTOR_VERSION }} | |
path-image-to-be-built: 'env/plugins/ecommerce/build/ecommerce' | |
organization-name: ${{ vars.BUILD_ORGANIZATION_NAME }} | |
repository-name: ${{ vars.BUILD_REPOSITORY_NAME }} | |
image-tag: ${{ vars.ECOMMERCE_TUTOR_PLUGIN_VERSION }}-RC-${{ steps.current-time.outputs.formattedTime }} | |
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} | |
docker-token: ${{ secrets.DOCKERHUB_TOKEN }} | |
use-docker-cache: ${{ vars.BUILD_USE_CACHE }} | |
tutor-plugin-sources: '("git+https://github.com/Pearson-Advance/tutor-ecommerce.git@v${{ vars.ECOMMERCE_TUTOR_PLUGIN_VERSION }}" "git+https://github.com/overhangio/[email protected]" "git+https://github.com/overhangio/[email protected]")' | |
tutor-plugin-names: '("ecommerce" "discovery" "mfe")' | |
tutor-pearson-plugin-url: ${{ vars.TUTOR_PEARSON_PLUGIN_URL }} | |
tutor-pearson-plugin-name: 'pearson-plugin-ecommerce-stg' |