Skip to content

Commit

Permalink
chore(deps): update swanseauniversitymedical/workflows action to v5 (#39
Browse files Browse the repository at this point in the history
)

Co-authored-by: dare-renovate[bot] <129118232+dare-renovate[bot]@users.noreply.github.enterprise.com>
Co-authored-by: rdash99 <[email protected]>
Co-authored-by: Joss Whittle <[email protected]>
  • Loading branch information
4 people authored Jan 18, 2024
1 parent 3e9f789 commit 2b6d739
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/on-pr-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

changes:
# Detect which files have been changed on this PR's full history
uses: SwanseaUniversityMedical/workflows/.github/workflows/changes-pr.yaml@v4.3.0
uses: SwanseaUniversityMedical/workflows/.github/workflows/changes-pr.yaml@v5.0.0
with:
slack-channel: ${{ vars.SLACK_CHANNEL }}
filters: |
Expand All @@ -37,29 +37,28 @@ jobs:
# Build the container and push it as :pr-42 and :pr-42-fe45b3h
needs: changes
if: fromJSON(needs.changes.outputs.changes).hive-container == 'true'
uses: SwanseaUniversityMedical/workflows/.github/workflows/on-pr-update-container.yaml@v4.3.0
uses: SwanseaUniversityMedical/workflows/.github/workflows/build-pr-container.yaml@v5.0.0
with:
job-name: hive-container
container-registry: ${{ vars.HARBOR_REGISTRY }}
container-registry-user: ${{ vars.HARBOR_USER }}
container-registry-project: ${{ vars.HARBOR_PROJECT }}
container-registry-repo: ${{ vars.HARBOR_REPO }}
registry: ${{ vars.HARBOR_REGISTRY }}
registry-user: ${{ vars.HARBOR_USER }}
registry-repo: dare/hive
cosign-public-key: ${{ vars.COSIGN_PUBLIC_KEY }}
slack-channel: ${{ vars.SLACK_CHANNEL }}
build-command: |
docker build -t $IMAGE -f containers/hive/Dockerfile .
build-file: containers/hive/Dockerfile
build-context: .
secrets:
cosign-private-key: ${{ secrets.COSIGN_PRIVATE_KEY }}
cosign-password: ${{ secrets.COSIGN_PASSWORD }}
container-registry-token: ${{ secrets.HARBOR_TOKEN }}
registry-token: ${{ secrets.HARBOR_TOKEN }}
slack-token: ${{ secrets.SLACK_TOKEN }}


chart:
# Build the chart and push it as :pr-42 and :pr-42-fe45b3h
needs: changes
if: fromJSON(needs.changes.outputs.changes).chart == 'true'
uses: SwanseaUniversityMedical/workflows/.github/workflows/on-pr-update-chart.yaml@v4.3.0
uses: SwanseaUniversityMedical/workflows/.github/workflows/on-pr-update-chart.yaml@v5.0.0
with:
job-name: hive-chart
chart: charts/hive
Expand Down

0 comments on commit 2b6d739

Please sign in to comment.