Skip to content

Commit

Permalink
chore: update references to new ironbank credentials in bigbang workf…
Browse files Browse the repository at this point in the history
…low (#2192)

## Description

Update references to new ironbank credentials in bigbang workflow

## Related Issue

N/A

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Other (security config, docs update, etc)

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [x] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
followed
  • Loading branch information
lucasrod16 authored Dec 13, 2023
1 parent cfc2bbc commit b2dd420
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/test-bigbang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ jobs:

- name: Login to Iron Bank
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
if: ${{ env.IRONBANK_USERNAME != '' }}
if: ${{ env.IRON_BANK_ROBOT_USERNAME != '' }}
env:
IRONBANK_USERNAME: ${{ secrets.IRONBANK_USERNAME }}
IRON_BANK_ROBOT_USERNAME: ${{ secrets.IRON_BANK_ROBOT_USERNAME }}
with:
registry: registry1.dso.mil
username: ${{ secrets.IRONBANK_USERNAME }}
password: ${{ secrets.IRONBANK_PASSWORD }}
username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }}
password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }}

- name: Build a registry1.dso.mil Zarf 'init' package
if: ${{ env.IRONBANK_USERNAME != '' }}
if: ${{ env.IRON_BANK_ROBOT_USERNAME != '' }}
env:
IRONBANK_USERNAME: ${{ secrets.IRONBANK_USERNAME }}
IRON_BANK_ROBOT_USERNAME: ${{ secrets.IRON_BANK_ROBOT_USERNAME }}
run: make ib-init-package

# Upload the contents of the build directory for later stages to use
Expand Down Expand Up @@ -88,18 +88,18 @@ jobs:

- name: Login to Iron Bank
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
if: ${{ env.IRONBANK_USERNAME != '' }}
if: ${{ env.IRON_BANK_ROBOT_USERNAME != '' }}
env:
IRONBANK_USERNAME: ${{ secrets.IRONBANK_USERNAME }}
IRON_BANK_ROBOT_USERNAME: ${{ secrets.IRON_BANK_ROBOT_USERNAME }}
with:
registry: registry1.dso.mil
username: ${{ secrets.IRONBANK_USERNAME }}
password: ${{ secrets.IRONBANK_PASSWORD }}
username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }}
password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }}

- name: Run tests
if: ${{ env.IRONBANK_USERNAME != '' }}
if: ${{ env.IRON_BANK_ROBOT_USERNAME != '' }}
env:
IRONBANK_USERNAME: ${{ secrets.IRONBANK_USERNAME }}
IRON_BANK_ROBOT_USERNAME: ${{ secrets.IRON_BANK_ROBOT_USERNAME }}
run: |
sudo mkdir /mnt/zarf-tmp
sudo chown -R runner:runner /mnt/zarf-tmp
Expand Down

0 comments on commit b2dd420

Please sign in to comment.