Skip to content

Commit bc82fc8

Browse files
committed
Updating workflows to use reusable
1 parent c44c68e commit bc82fc8

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/build-images.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ on:
66
tags:
77
- "**"
88
branches:
9-
- 'integration'
9+
- 'main'
1010
- 'release/version*'
1111
- 'docker-images'
1212
workflow_dispatch:
1313
jobs:
1414
call-reusable-workflow:
1515
uses: nationalsecurityagency/datawave/.github/workflows/microservice-build-image.yaml@integration
16+
secrets:
17+
USER_NAME: ${{ secrets.USER_NAME }}
18+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}

.github/workflows/tests.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
name: Run Maven Tests
1+
name: Tests
22

33
on:
44
push:
55
paths-ignore: ['*.md', 'CODEOWNERS', 'LICENSE']
66
branches:
7-
- 'main'
8-
- 'release/*'
7+
- 'main'
8+
- 'release/*'
99
pull_request:
1010
paths-ignore: ['*.md', 'CODEOWNERS', 'LICENSE']
1111

1212
jobs:
1313
call-reusable-workflow:
14-
uses: nationalsecurityagency/datawave/.github/workflows/microservice-maven-tests.yaml@integration
14+
uses: nationalsecurityagency/datawave/.github/workflows/microservice-maven-tests.yaml@integration
15+
secrets:
16+
USER_NAME: ${{ secrets.USER_NAME }}
17+
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}

0 commit comments

Comments
 (0)