Skip to content

Commit

Permalink
hate you actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Vanhemert committed Nov 30, 2023
1 parent c4d6a26 commit 5846352
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
10 changes: 0 additions & 10 deletions .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
name: "Setup Environment"
description: "UDS Environment Setup"

inputs:
registry1_username:
required: true
registry1_password:
required: true

runs:
using: "composite"
steps:
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5846352

Please sign in to comment.