Skip to content

Commit

Permalink
ci: update logins in tag and release workflow (#185)
Browse files Browse the repository at this point in the history
## Description

This CI workflow was missed in a [previous
PR](#162) that swapped
the login process to use a common uds task.

## Type of change

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

## Checklist before merging

- [ ] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide
Steps](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)(https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md#submitting-a-pull-request)
followed
  • Loading branch information
MxNxPx authored Feb 16, 2024
1 parent 6cc5fc7 commit 95201fa
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ jobs:

- name: Environment setup
uses: ./.github/actions/setup
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
ib_user: ${{ secrets.IRON_BANK_ROBOT_USERNAME }}
ib_password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }}

- name: Login to GHCR
run: uds run registry-login --set REGISTRY=ghcr.io --set REGISTRY_USERNAME=dummy --set REGISTRY_PASSWORD=${{ secrets.GITHUB_TOKEN }} --set REGISTRY_RETRY_INTERVAL=90

- name: Login to registry1
run: uds run registry-login --set REGISTRY=registry1.dso.mil --set REGISTRY_USERNAME=${{ secrets.IRON_BANK_ROBOT_USERNAME }} --set REGISTRY_PASSWORD=${{ secrets.IRON_BANK_ROBOT_PASSWORD }} --set REGISTRY_RETRY_INTERVAL=90

- name: Publish UDS Zarf Package
run: uds run -f tasks/publish.yaml packages --set FLAVOR=${{ matrix.flavor }}
Expand Down

0 comments on commit 95201fa

Please sign in to comment.