Merge branch 'release/0.11' into main #50
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: Build | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- develop | |
- talos-testing/fake-develop | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
lfs: true | |
- name: Prepare directories | |
run: mkdir -p /home/runner/work/_temp/_github_home/talos-m2-repository | |
- name: Maven Repo Cache | |
uses: actions/cache@v2 | |
with: | |
path: /home/runner/work/_temp/_github_home/talos-m2-repository | |
key: talos-maven-repo | |
- name: Build | |
uses: docker://incub8softwarelabs/talos:latest | |
env: | |
# Talos-specific secrets | |
TALOS_SERVER1_PASSWORD: ${{ secrets.TALOS_SERVER1_PASSWORD }} | |
TALOS_SERVER2_PASSWORD: ${{ secrets.TALOS_SERVER2_PASSWORD }} | |
TALOS_SERVER3_PASSWORD: ${{ secrets.TALOS_SERVER3_PASSWORD }} | |
TALOS_SIGNING_KEY: ${{ secrets.TALOS_SIGNING_KEY }} | |
TALOS_SONAR_LOGIN: ${{ secrets.TALOS_SONAR_LOGIN }} | |
# Talos-specific variables | |
TALOS_MAVEN_DEBUG: ${{ vars.TALOS_MAVEN_DEBUG }} | |
TALOS_PARAMETERS: ${{ vars.TALOS_PARAMETERS }} | |
TALOS_RELEASE_REPO_ENABLED: ${{ vars.TALOS_RELEASE_REPO_ENABLED }} | |
TALOS_RELEASE_REPO_ID: ${{ vars.TALOS_RELEASE_REPO_ID }} | |
TALOS_RELEASE_REPO_URL: ${{ vars.TALOS_RELEASE_REPO_URL }} | |
TALOS_SERVER1_ID: ${{ vars.TALOS_SERVER1_ID }} | |
TALOS_SERVER1_USERNAME: ${{ vars.TALOS_SERVER1_USERNAME }} | |
TALOS_SERVER2_ID: ${{ vars.TALOS_SERVER2_ID }} | |
TALOS_SERVER2_USERNAME: ${{ vars.TALOS_SERVER2_USERNAME }} | |
TALOS_SERVER3_ID: ${{ vars.TALOS_SERVER3_ID }} | |
TALOS_SERVER3_USERNAME: ${{ vars.TALOS_SERVER3_USERNAME }} | |
TALOS_SIGNING_ENABLED: ${{ vars.TALOS_SIGNING_ENABLED }} | |
TALOS_SIGNING_PROFILE: ${{ vars.TALOS_SIGNING_PROFILE }} | |
TALOS_SNAPSHOT_REPO_ENABLED: ${{ vars.TALOS_SNAPSHOT_REPO_ENABLED }} | |
TALOS_SNAPSHOT_REPO_ID: ${{ vars.TALOS_SNAPSHOT_REPO_ID }} | |
TALOS_SNAPSHOT_REPO_URL: ${{ vars.TALOS_SNAPSHOT_REPO_URL }} | |
TALOS_SONAR_ENABLED: ${{ vars.TALOS_SONAR_ENABLED }} | |
TALOS_SONAR_HOST: ${{ vars.TALOS_SONAR_HOST }} | |
TALOS_SONAR_ORGANIZATION: ${{ vars.TALOS_SONAR_ORGANIZATION }} | |
# Token to use when SonarScanner invokes Github APIs | |
# https://docs.github.com/en/actions/reference/authentication-in-a-workflow#about-the-github_token-secret | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |