Skip to content

Commit

Permalink
Update test_matrix.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Feb 5, 2020
1 parent 98191b0 commit 26238fd
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,26 @@ jobs:
run: docker push docker.pkg.github.com/${GITHUB_REPOSITORY}/stg-splunk-connect-for-syslog:sc4s-${{ matrix.syslog-version }}-${{ github.sha }}


build-splunk:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
splunk-version: [7.2,7.3,8.0]

steps:
- name: Checkout private tools
uses: actions/checkout@v2
- uses: azure/docker-login@v1
with:
login-server: docker.pkg.github.com
username: ${{ secrets.GitHub_User }}
password: ${{ secrets.GitHub_PAT }}

- name: Build for ${{ matrix.splunk-version }}
run: |
docker build --build-arg SPLUNK_VERSION=${{ matrix.splunk-version }} splunk \
-t docker.pkg.github.com/${GITHUB_REPOSITORY}/stg-splunk-connect-for-syslog:splunk-${{ matrix.splunk-version }}-${{ github.sha }}
- name: Push stg-splunk-connect-for-syslog:splunk-${{ matrix.splunk-version }}-${{ github.sha }}
run: docker push docker.pkg.github.com/${GITHUB_REPOSITORY}/stg-splunk-connect-for-syslog:splunk-${{ matrix.splunk-version }}-${{ github.sha }}

0 comments on commit 26238fd

Please sign in to comment.