Skip to content

Commit

Permalink
chore(deps): update swanseauniversitymedical/workflows action to v5.0…
Browse files Browse the repository at this point in the history
….1 (#73)

Co-authored-by: dare-renovate[bot] <129118232+dare-renovate[bot]@users.noreply.github.enterprise.com>
Co-authored-by: rdash99 <[email protected]>
  • Loading branch information
3 people authored Jan 16, 2024
1 parent 853865a commit a69282f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
6 changes: 3 additions & 3 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/[email protected].0
uses: SwanseaUniversityMedical/workflows/.github/workflows/[email protected].1
with:
slack-channel: ${{ vars.SLACK_CHANNEL }}
filters: |
Expand All @@ -38,7 +38,7 @@ jobs:
# Build the DARE Trino container and push it as :pr-42 and :pr-42-fe45b3h
needs: changes
if: fromJSON(needs.changes.outputs.changes).trino-container == 'true'
uses: SwanseaUniversityMedical/workflows/.github/workflows/[email protected].0
uses: SwanseaUniversityMedical/workflows/.github/workflows/[email protected].1
with:
job-name: trino-container
registry: ${{ vars.HARBOR_REGISTRY }}
Expand All @@ -58,7 +58,7 @@ jobs:
# 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/[email protected].0
uses: SwanseaUniversityMedical/workflows/.github/workflows/[email protected].1
with:
job-name: chart
chart: charts/trino
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/on-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

changes:
# Detect which files have been changed on this PR's full history
uses: SwanseaUniversityMedical/workflows/.github/workflows/changes-release.yaml@v4.3.0
uses: SwanseaUniversityMedical/workflows/.github/workflows/changes-release.yaml@v5.0.1
with:
slack-channel: ${{ vars.SLACK_CHANNEL }}
filters: |
Expand All @@ -37,29 +37,28 @@ jobs:
# Build the DARE api container and push it as :rc-1.0.0
needs: changes
if: fromJSON(needs.changes.outputs.changes).trino-container == 'true'
uses: SwanseaUniversityMedical/workflows/.github/workflows/on-release-container.yaml@v4.3.0
uses: SwanseaUniversityMedical/workflows/.github/workflows/build-and-test-release-container.yaml@v5.0.1
with:
job-name: trino-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/trino
release-tag-format: 'DARE-Trino-Container-${version}'
cosign-public-key: ${{ vars.COSIGN_PUBLIC_KEY }}
slack-channel: ${{ vars.SLACK_CHANNEL }}
build-command: |
docker build -t $IMAGE -f containers/trino/Dockerfile .
build-file: containers/trino/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 x.y.z-rc
needs: changes
if: fromJSON(needs.changes.outputs.changes).chart == 'true'
uses: SwanseaUniversityMedical/workflows/.github/workflows/on-release-chart.yaml@v4.3.0
uses: SwanseaUniversityMedical/workflows/.github/workflows/on-release-chart.yaml@v5.0.1
with:
job-name: chart
chart-registry: ${{ vars.HARBOR_REGISTRY }}
Expand Down

0 comments on commit a69282f

Please sign in to comment.