Skip to content

Commit

Permalink
refactor build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sorinvoicu committed Feb 29, 2024
1 parent d997af1 commit 4b13679
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ jobs:
permissions:
packages: write

outputs:
image: ${{ steps.build_vars.outputs.IMAGE_NAME }}
tag: ${{ steps.build_vars.outputs.IMAGE_DATE_TAG }}

steps:
- name: Checkout project ⬇️
uses: actions/checkout@v4
Expand Down Expand Up @@ -119,7 +123,13 @@ jobs:
PANDOC_VERSION=${{ github.event.inputs.pandoc_version }}
QUARTO_VERSION=${{ github.event.inputs.quarto_version }}
sec_ops:
name: SecOps
needs: build_publish
runs-on: ubuntu-latest

steps:
- name: Update security artifacts
uses: boehringer-ingelheim/dv.ci-images/.github/workflows/secops.yml@secops
with:
image_tag: "${{ steps.build_vars.outputs.IMAGE_NAME }}:${{ steps.build_vars.outputs.IMAGE_DATE_TAG }}"
image_tag: "${{ needs.build_publish.outputs.image }}:${{ needs.build_publish.outputs.tag }}"

0 comments on commit 4b13679

Please sign in to comment.