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 }}