Skip to content

Commit

Permalink
[ODS-6390] Release v7.1-patch2 (#1057)
Browse files Browse the repository at this point in the history
  • Loading branch information
semalaiappan authored Jun 24, 2024
1 parent abe3dcc commit 1bb4e86
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/Publish to Docker Hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@

name: Publish to Docker Hub
on:
pull_request:
branches: [b-v*-patch*]
workflow_run:
workflows:
- "Docker Test"
types:
- completed
branches:
- main
- b-v*-patch*
release:
types: [published]
workflow_dispatch:
Expand All @@ -30,6 +32,9 @@ env:
PACKAGE_VERSION: "7.1"
EVENT_NAME: ${{ GITHUB.EVENT_NAME }}
EVENT_ACTION: ${{ GITHUB.EVENT.ACTION }}
HEAD_REF: ${{ GITHUB.HEAD_REF }}
REF_NAME: ${{ GITHUB.REF_NAME }}
REPOSITORY_DISPATCH_BRANCH: ${{ github.event.client_payload.branch }}

jobs:

Expand All @@ -41,6 +46,12 @@ jobs:
ExtensionVersions: ${{ steps.Set_ExtensionVersions.outputs.ExtensionVersions }}
steps:

- name: Checkout Ed-Fi-ODS-Implementation
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
with:
repository: Ed-Fi-Alliance-OSS/Ed-Fi-ODS-Implementation
path: Ed-Fi-ODS-Implementation/

- name: Checkout Ed-Fi-ODS
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
with:
Expand All @@ -54,13 +65,13 @@ jobs:
path: Ed-Fi-Extensions/

- name: Is pull request branch exists in Ed-Fi-Extensions
working-directory: ./Ed-Fi-ODS/
working-directory: ./Ed-Fi-ODS-Implementation/
shell: pwsh
run: |
.\build.githubactions.ps1 CheckoutBranch -RelativeRepoPath "../Ed-Fi-Extensions"
- name: Is pull request branch exists in Ed-Fi-ODS
working-directory: ./Ed-Fi-ODS/
working-directory: ./Ed-Fi-ODS-Implementation/
shell: pwsh
run: |
.\build.githubactions.ps1 CheckoutBranch -RelativeRepoPath "../Ed-Fi-ODS"
Expand Down Expand Up @@ -136,6 +147,7 @@ jobs:
{
./get-versions.ps1 -PackageVersion ${{ env.PACKAGE_VERSION }} -StandardVersion ${{ matrix.StandardVersion }} -ExtensionVersion ${{ matrix.ExtensionVersion }} -PreRelease
./build-images.ps1 -Push -PackageVersion ${{ env.PACKAGE_VERSION }} -Patch ${{ github.run_number }} -PreRelease
Write-Host "This is for ${{ env.PACKAGE_VERSION }} Pre Release."
}
working-directory: Docker
shell: pwsh

0 comments on commit 1bb4e86

Please sign in to comment.