Skip to content

Commit 81c422a

Browse files
authored
fix: add build cache password action input (#757)
1 parent 0e168d7 commit 81c422a

25 files changed

+27
-1
lines changed

.github/actions/build/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ inputs:
1111
image-tools-version:
1212
description: The Stackable image-tools version
1313
default: 0.0.10
14+
build-cache-nexus-password:
15+
description: Build cache password for the github user
1416
outputs:
1517
image-name:
1618
description: This is the full image name before the tag (left of ':')
@@ -46,7 +48,7 @@ runs:
4648
with:
4749
registry: build-repo.stackable.tech:8083
4850
username: github
49-
password: ${{ secrets.BUILD_CACHE_NEXUS_PASSWORD }}
51+
password: ${{ inputs.build-cache-nexus-password }}
5052

5153
- name: Build image using bake
5254
shell: bash

.github/workflows/dev_airflow.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
with:
5555
product-name: ${{ env.PRODUCT_NAME }}
5656
product-version: ${{ matrix.versions }}
57+
build-cache-nexus-password: ${{ secrets.BUILD_CACHE_NEXUS_PASSWORD }}
5758
- name: Publish Product Image
5859
uses: ./.github/actions/publish-image
5960
with:

.github/workflows/dev_druid.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
with:
5757
product-name: ${{ env.PRODUCT_NAME }}
5858
product-version: ${{ matrix.versions }}
59+
build-cache-nexus-password: ${{ secrets.BUILD_CACHE_NEXUS_PASSWORD }}
5960
- name: Publish Product Image
6061
uses: ./.github/actions/publish-image
6162
with:

.github/workflows/dev_hadoop.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
with:
5757
product-name: ${{ env.PRODUCT_NAME }}
5858
product-version: ${{ matrix.versions }}
59+
build-cache-nexus-password: ${{ secrets.BUILD_CACHE_NEXUS_PASSWORD }}
5960
- name: Publish Product Image
6061
uses: ./.github/actions/publish-image
6162
with:

.github/workflows/dev_hbase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
with:
5858
product-name: ${{ env.PRODUCT_NAME }}
5959
product-version: ${{ matrix.versions }}
60+
build-cache-nexus-password: ${{ secrets.BUILD_CACHE_NEXUS_PASSWORD }}
6061
- name: Publish Product Image
6162
uses: ./.github/actions/publish-image
6263
with:

.github/workflows/dev_hello-world.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
with:
5353
product-name: ${{ env.PRODUCT_NAME }}
5454
product-version: ${{ matrix.versions }}
55+
build-cache-nexus-password: ${{ secrets.BUILD_CACHE_NEXUS_PASSWORD }}
5556
- name: Publish Product Image
5657
uses: ./.github/actions/publish-image
5758
with:

.github/workflows/dev_hive.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
with:
5858
product-name: ${{ env.PRODUCT_NAME }}
5959
product-version: ${{ matrix.versions }}
60+
build-cache-nexus-password: ${{ secrets.BUILD_CACHE_NEXUS_PASSWORD }}
6061
- name: Publish Product Image
6162
uses: ./.github/actions/publish-image
6263
with:

.github/workflows/dev_java-base.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
with:
5353
product-name: ${{ env.PRODUCT_NAME }}
5454
product-version: ${{ matrix.versions }}
55+
build-cache-nexus-password: ${{ secrets.BUILD_CACHE_NEXUS_PASSWORD }}
5556
- name: Publish Product Image
5657
uses: ./.github/actions/publish-image
5758
with:

.github/workflows/dev_java-devel.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
with:
5353
product-name: ${{ env.PRODUCT_NAME }}
5454
product-version: ${{ matrix.versions }}
55+
build-cache-nexus-password: ${{ secrets.BUILD_CACHE_NEXUS_PASSWORD }}
5556
- name: Publish Product Image
5657
uses: ./.github/actions/publish-image
5758
with:

.github/workflows/dev_kafka-testing-tools.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
with:
5757
product-name: ${{ env.PRODUCT_NAME }}
5858
product-version: ${{ matrix.versions }}
59+
build-cache-nexus-password: ${{ secrets.BUILD_CACHE_NEXUS_PASSWORD }}
5960
- name: Publish Product Image
6061
uses: ./.github/actions/publish-image
6162
with:

0 commit comments

Comments
 (0)