Skip to content

Commit 2ddc26c

Browse files
author
Paul McCann
authored
Update release.yml
1 parent 52832a7 commit 2ddc26c

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

.github/workflows/release.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
name: Release to Dockerhub
2-
on:
3-
pull_request:
4-
types:
5-
- closed
6-
branches: [master, dev]
7-
paths-ignore:
8-
- '**.md'
9-
- '.github/ISSUE_TEMPLATE'
10-
- '.gitignore'
11-
- 'provisioning'
12-
- '.sonarcloud.properties'
13-
- 'LICENSE'
14-
- 'Vagrantfile'
2+
on: push
3+
# pull_request:
4+
# types:
5+
# - closed
6+
# branches: [master, dev]
7+
# paths-ignore:
8+
# - '**.md'
9+
# - '.github/ISSUE_TEMPLATE'
10+
# - '.gitignore'
11+
# - 'provisioning'
12+
# - '.sonarcloud.properties'
13+
# - 'LICENSE'
14+
# - 'Vagrantfile'
1515

1616
jobs:
1717
build:
18-
if: github.event.pull_request.merged == true
18+
# if: github.event.pull_request.merged == true
1919
name: build
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v2
2323
- name: Set up JDK 1.8
24-
uses: actions/setup-java@v1
24+
uses: actions/setup-java@v3.6.0
2525
with:
26-
java-version: 1.8
26+
distribution: 'zulu'
27+
java-version: '8'
2728
- name: Build Maven with Docker Profile and Generate SBOM
2829
run: mvn clean install -Pdocker -DskipTests -B -DexcludeTestProject=true cyclonedx:makeBom
2930
- name: Upload WAR File
@@ -72,7 +73,7 @@ jobs:
7273
7374
release-security-shepherd:
7475
needs: build
75-
if: github.event.pull_request.merged == true
76+
# if: github.event.pull_request.merged == true
7677
runs-on: ubuntu-latest
7778
steps:
7879
- name: Checkout

0 commit comments

Comments
 (0)