From e004c201c0e02f4def48dbe5982945bcc902f0bc Mon Sep 17 00:00:00 2001 From: Adam Israel Date: Mon, 17 Jul 2023 09:13:49 -0400 Subject: [PATCH] fix: [VIO-3010] Attempt to use private workflows This is an attempt to enable the use of private workflows. --- .github/workflows/build.yaml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ff5e981d..faaf5885 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -11,7 +11,17 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: ./.github/actions/build-pr-image + - name: Checkout vapor-ware workflows + uses: actions/checkout@v3 + with: + repository: vapor-ware/workflows + # token: ${{ secrets.VIO_REPO_READ }} + token: ${{ secrets.VIO_PUBLIC_REPO }} + ref: main + path: vapor-ware-workflows + + # - uses: ./.github/actions/build-pr-image + - uses: ./vapor-ware-workflows/.github/actions/build-pr-image id: build-env with: REGISTRY: docker.io @@ -22,7 +32,8 @@ jobs: PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }} IMAGENAME: synse-server - - uses: ./.github/actions/scan-image + # - uses: ./.github/actions/scan-image + - uses: ./vapor-ware-workflows/.github/actions/scan-image id: scan-image with: image: ${{ steps.build-env.outputs.image-archive }}