From 7996a2ac6aa30e742489dd8aaea30b48b2496eaf Mon Sep 17 00:00:00 2001 From: Tracey Jaquith Date: Sat, 17 Feb 2024 19:40:25 +0000 Subject: [PATCH] use simpler new reusable GH workflow --- .github/workflows/cicd.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index d8d20a2..2dfd956 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -1,15 +1,9 @@ -name: CICD on: push jobs: cicd: - runs-on: ubuntu-latest - permissions: { contents: read, packages: write, id-token: write } - steps: - - uses: internetarchive/cicd@v1 - with: - BASE_DOMAIN: 'dev.archive.org' - NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }} - REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NOMAD_VAR_HOSTNAMES: '["emularity-bios"]' - NOMAD_VAR_COUNT: 1 - NOMAD_VAR_PORTS: '{ 80 = "http" }' + uses: internetarchive/cicd/.github/workflows/cicd.yml@main + with: + NOMAD_VAR_HOSTNAMES: '["emularity-bios"]' + NOMAD_VAR_PORTS: '{ 80 = "http" }' + secrets: + NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }}