Skip to content

Commit

Permalink
Organizes workflows by inteded usage
Browse files Browse the repository at this point in the history
  • Loading branch information
djperrefort committed Nov 20, 2023
1 parent 78b60f8 commit 948d08e
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 5 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Publish Docker Image

on:
release:
types: [ "released" ]
workflow_call:

env:
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/keystone-api
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions .github/workflows/PullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ on:
jobs:
build:
name: Build
uses: ./.github/workflows/Build.yml
uses: ./.github/recipes/Build.yml

test:
name: Test
needs: build
uses: ./.github/workflows/Test.yml
uses: ./.github/recipes/Test.yml

qa:
name: QA
needs: build
uses: ./.github/workflows/QA.yml
uses: ./.github/recipes/QA.yml

report-pr-status:
name: Report PR Status
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release

on:
release:
types: [ "released" ]

env:
IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/keystone-api

jobs:
build:
name: Build
uses: ./.github/recipes/Build.yml

test:
name: Test
needs: build
uses: ./.github/recipes/Test.yml

docker:
name: Docker
needs: test
uses: ./.github/recipes/DockerPublish.yml

0 comments on commit 948d08e

Please sign in to comment.