This is an automated email from the ASF dual-hosted git repository.

bciesla pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git


The following commit(s) were added to refs/heads/master by this push:
     new 7b64a136 fix(ci): pass DockerHub secrets to Rust production workflow 
(#1647)
7b64a136 is described below

commit 7b64a1361bad2b9ee6dac94d29667f352b608b33
Author: Bartosz Cieśla <[email protected]>
AuthorDate: Sun Mar 16 13:23:28 2025 +0100

    fix(ci): pass DockerHub secrets to Rust production workflow (#1647)
    
    Pass DockerHub secrets from main production (on push) workflow
    to Rust workflow for creating images with iggy server.
---
 .github/workflows/ci-prod-rust.yml | 5 +++++
 .github/workflows/ci-prod.yml      | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/.github/workflows/ci-prod-rust.yml 
b/.github/workflows/ci-prod-rust.yml
index ceed8293..cc67608f 100644
--- a/.github/workflows/ci-prod-rust.yml
+++ b/.github/workflows/ci-prod-rust.yml
@@ -31,6 +31,11 @@ name: ci-prod-rust
 
 on:
   workflow_call:
+    secretes:
+      DOCKERHUB_USER:
+        required: true
+      DOCKERHUB_TOKEN:
+        required: true
 
 env:
   DOCKERHUB_REGISTRY_NAME: apache/iggy
diff --git a/.github/workflows/ci-prod.yml b/.github/workflows/ci-prod.yml
index fc61977c..2c64e94d 100644
--- a/.github/workflows/ci-prod.yml
+++ b/.github/workflows/ci-prod.yml
@@ -60,6 +60,9 @@ jobs:
     needs: merge-file-changes
     if: ${{ needs.merge-file-changes.outputs.trigger-rust == 'true' }}
     uses: ./.github/workflows/ci-prod-rust.yml
+    secrets:
+      DOCKERHUB_USER: ${{ secretes.DOCKERHUB_USER }}
+      DOCKERHUB_TOKEN: ${{ secretes.DOCKERHUB_TOKEN }}
 
   finalize-prod:
     runs-on: ubuntu-latest

Reply via email to