Skip to content

Commit

Permalink
DST-17030 - Run action on push.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmacbeth-unilink committed May 23, 2024
1 parent 817cad5 commit 0aa9181
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Build
on:
release:
types: [published, edited]
push:

jobs:
build:
Expand All @@ -17,10 +18,16 @@ jobs:

- uses: ./.github/actions/setup

- name: Set version
run: |
version=${tag:-dev}
echo "version=$version" | tee -a "$GITHUB_ENV"
echo "ORG_GRADLE_PROJECT_version=$version" | tee -a "$GITHUB_ENV"
env:
tag: ${{ github.event.release.tag_name }}

- name: Build image
run: ./gradlew clean build bootBuildImage --info --build-cache
env:
ORG_GRADLE_PROJECT_version: ${{ github.event.release.tag_name }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down

0 comments on commit 0aa9181

Please sign in to comment.