Skip to content

Commit

Permalink
fix: 👷 Github actions shared
Browse files Browse the repository at this point in the history
try to manage actions reference
  • Loading branch information
BRUVRY-LAGADEC committed Nov 28, 2024
1 parent bd6723b commit 8422b8a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/workflow-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,29 @@ on:
- java-demo/**
pull_request:
# Run for any pull requests
paths:
- java-demo/**
# paths:
# - java-demo/**
release:
types: [created]

jobs:
java-linting:
uses: British-Oceanographic-Data-Centre/amrit-repos/.github/workflows/component-java-lint.yml@main
uses: British-Oceanographic-Data-Centre/amrit-repos/.github/workflows/component-java-lint.yml@${{ github.ref_name }}
with:
context: java-demo
java-testing:
uses: British-Oceanographic-Data-Centre/amrit-repos/.github/workflows/component-java-test.yml@main
uses: British-Oceanographic-Data-Centre/amrit-repos/.github/workflows/component-java-test.yml@${{ github.ref_name }}
with:
context: java-demo
container-image-build:
needs: [java-linting, java-testing]
uses: British-Oceanographic-Data-Centre/amrit-repos/.github/workflows/component-container-image.yml@main
uses: British-Oceanographic-Data-Centre/amrit-repos/.github/workflows/component-container-image.yml@${{ github.ref_name }}
with:
context: java-demo
image-path: ghcr.io/british-oceanographic-data-centre/amrit-repos/java/app
container-image-security:
needs: [container-image-build]
uses: British-Oceanographic-Data-Centre/amrit-repos/.github/workflows/component-container-image-security.yml@main
uses: British-Oceanographic-Data-Centre/amrit-repos/.github/workflows/component-container-image-security.yml@${{ github.ref_name }}
with:
context: java-demo
image-path: ghcr.io/british-oceanographic-data-centre/amrit-repos/java/app

0 comments on commit 8422b8a

Please sign in to comment.