Skip to content

Commit

Permalink
Merge pull request #39 from boschglobal/fix/databroker-build-prolifer…
Browse files Browse the repository at this point in the history
…ate-secrets

Make sure quay.io secrets will be transferred when calling databroker build action
  • Loading branch information
wba2hi authored Jun 6, 2024
2 parents 684c6cc + 1d5f06b commit 4ee3510
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/create_draft_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
call_kuksa_databroker_build:
uses: ./.github/workflows/kuksa_databroker_build.yml
secrets:
QUAY_IO_TOKEN: ${{ secrets.QUAY_IO_TOKEN }}
QUAY_IO_USERNAME: ${{ secrets.QUAY_IO_TOKEN }}

This comment has been minimized.

Copy link
@netomi

netomi Jun 6, 2024

that seems to be a copy&paste error, should be QUAY_IO_USERNAME

call_kuksa_databroker-cli_build:
uses: ./.github/workflows/kuksa_databroker-cli_build.yml

Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/kuksa_databroker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ on:
branches: [ main]
pull_request:
workflow_call:
secrets:
QUAY_IO_TOKEN:
required: true
QUAY_IO_USERNAME:
required: true
workflow_dispatch:

# suffix to avoid cancellation when running from release workflow
Expand Down Expand Up @@ -207,8 +212,7 @@ jobs:
username: ${{ secrets.QUAY_IO_USERNAME }}
password: ${{ secrets.QUAY_IO_TOKEN }}


- name: Build kuksa-databroker container and push to ghcr.io (and ttl.sh)
- name: Build kuksa-databroker container and push to ghcr.io, quay.io and ttl.sh
id: ghcr-build
if: needs.check_ghcr_push.outputs.push == 'true'
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 4ee3510

Please sign in to comment.