Merge pull request #143 from Pearson-Advance/vue/PADV-1558 #1
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 and push 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/build/openedx' | |
organization-name: ${{ vars.BUILD_ORGANIZATION_NAME }} | |
repository-name: ${{ vars.BUILD_REPOSITORY_NAME }} | |
image-tag: ${{ vars.BUILD_TUTOR_VERSION }}-RC-${{ steps.current-time.outputs.formattedTime }} | |
docker-username: ${{ secrets.DOCKERHUB_USERNAME }} | |
docker-token: ${{ secrets.DOCKERHUB_TOKEN }} | |
use-docker-cache: ${{ vars.BUILD_USE_CACHE }} | |
gh-access-token: ${{ secrets.GH_PAT }} | |
theme-repository: ${{ vars.BUILD_THEME_REPOSITORY }} | |
theme-branch: ${{ vars.BUILD_THEME_BRANCH }} | |
tutor-pearson-plugin-url: ${{ vars.TUTOR_PEARSON_PLUGIN_URL }} | |
tutor-pearson-plugin-name: 'pearson-plugin-edxapp-stg' | |
extra-private-requirements: true | |
private-repositories: ${{ vars.BUILD_PRIVATE_REPOSITORIES }} | |
branches: ${{ vars.BUILD_BRANCHES }} |