Skip to content

Commit

Permalink
chore: fix missing keys in setup actions (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
Racer159 committed Mar 28, 2024
1 parent 46015a5 commit 39d7395
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/lint.yaml
Expand Up @@ -24,8 +24,9 @@ jobs:
- name: Environment setup
uses: ./.github/actions/setup
with:
username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }}
password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }}
registry1Username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }}
registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }}
ghToken: ${{ secrets.GITHUB_TOKEN }}

- name: Install lint deps
run: |
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/tag-release.yaml
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
tag-new-version:
name: Tag New Version
permissions: write-all
runs-on: ubuntu-latest
outputs:
Expand All @@ -22,10 +23,10 @@ jobs:
needs: tag-new-version
if: ${{ needs.tag-new-version.outputs.release_created == 'true' }}
runs-on: ubuntu-latest
name: Publish ${{ matrix.flavor }}
strategy:
matrix:
flavor: [test]
name: Publish ${{ matrix.flavor }}

permissions:
contents: read
Expand All @@ -37,15 +38,9 @@ jobs:
- name: Environment setup
uses: ./.github/actions/setup
with:
username: ${{secrets.IRON_BANK_ROBOT_USERNAME}}
password: ${{secrets.IRON_BANK_ROBOT_PASSWORD}}

- name: Login to GHCR
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3
with:
registry: ghcr.io
username: dummy
password: ${{ secrets.GITHUB_TOKEN }}
registry1Username: ${{ secrets.IRON_BANK_ROBOT_USERNAME }}
registry1Password: ${{ secrets.IRON_BANK_ROBOT_PASSWORD }}
ghToken: ${{ secrets.GITHUB_TOKEN }}

- name: Publish Package
run: uds run publish-podinfo --set FLAVOR=${{ matrix.flavor }} --no-progress
Expand Down

0 comments on commit 39d7395

Please sign in to comment.