diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index 68a8e76..5351570 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -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 @@ -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 }}" diff --git a/.github/workflows/secops.yml b/.github/workflows/secops.yml index e974262..72e5154 100644 --- a/.github/workflows/secops.yml +++ b/.github/workflows/secops.yml @@ -10,10 +10,6 @@ on: default: "ghcr.io/boehringer-ingelheim/r_4.3.2_cran_2024.01.12:latest" type: string - push: - branches: - - seops - jobs: build_publish: name: SecOps