From 5846352243dac457f2def0c13498ef700dc8fcb1 Mon Sep 17 00:00:00 2001 From: Mike Vanhemert Date: Thu, 30 Nov 2023 13:00:44 -0700 Subject: [PATCH] hate you actions --- .github/actions/setup/action.yaml | 10 ---------- .github/workflows/test.yaml | 6 +++--- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/actions/setup/action.yaml b/.github/actions/setup/action.yaml index 95e42240..beb43105 100644 --- a/.github/actions/setup/action.yaml +++ b/.github/actions/setup/action.yaml @@ -2,12 +2,6 @@ name: "Setup Environment" description: "UDS Environment Setup" -inputs: - registry1_username: - required: true - registry1_password: - required: true - runs: using: "composite" steps: @@ -17,10 +11,6 @@ runs: # renovate: datasource=github-tags depName=defenseunicorns/zarf versioning=semver version: v0.31.1 download-init-package: true - - - name: Iron Bank Login - shell: bash - run: zarf tools registry login -u "${{inputs.registry1_username}}" -p "${{inputs.registry1_password}}" registry1.dso.mil - name: Use Node.js latest uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f8e89967..5b45611a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -27,9 +27,9 @@ jobs: - name: Environment setup uses: ./.github/actions/setup - with: - registry1_username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }} - registry1_password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }} + + - name: Iron Bank Login + run: zarf tools registry login -u "${{secrets.IRON_BANK_ROBOT_USERNAME}}" -p "${{secrets.IRON_BANK_ROBOT_PASSWORD}}" registry1.dso.mil - name: Create test bundle run: uds run create-test-bundle