Skip to content

Commit

Permalink
Updating workflows to use reusable
Browse files Browse the repository at this point in the history
  • Loading branch information
alerman committed Oct 21, 2024
1 parent 0ca1246 commit 8781fcd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ on:
tags:
- "**"
branches:
- 'integration'
- 'main'
- 'release/version*'
- 'docker-images'
workflow_dispatch:
jobs:
call-reusable-workflow:
uses: nationalsecurityagency/datawave/.github/workflows/microservice-build-image.yaml@integration
secrets:
USER_NAME: ${{ secrets.USER_NAME }}
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
11 changes: 7 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
name: Run Maven Tests
name: Tests

on:
push:
paths-ignore: ['*.md', 'CODEOWNERS', 'LICENSE']
branches:
- 'main'
- 'release/*'
- 'main'
- 'release/*'
pull_request:
paths-ignore: ['*.md', 'CODEOWNERS', 'LICENSE']

jobs:
call-reusable-workflow:
uses: nationalsecurityagency/datawave/.github/workflows/microservice-maven-tests.yaml@integration
uses: nationalsecurityagency/datawave/.github/workflows/microservice-maven-tests.yaml@integration
secrets:
USER_NAME: ${{ secrets.USER_NAME }}
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}

0 comments on commit 8781fcd

Please sign in to comment.