Skip to content

Commit

Permalink
Rescope secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
JackPGreen committed Nov 5, 2024
1 parent c7892eb commit f1f1a3f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,11 @@ jobs:
RELEASE_VERSION: ${{ needs.prepare.outputs.LAST_RELEASED_HZ_VERSION_OSS }}
RELEASE_TYPE: ALL
DRY_RUN: true
secrets: inherit
secrets:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
HZ_ENTERPRISE_LICENSE: ${{ secrets.HZ_ENTERPRISE_LICENSE }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

test-push-rhel:
name: Test pushing image RHEL (dry run)
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/tag_image_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@ on:
description: 'Skip pushing the images to remote registry'
default: 'false'
type: string
secrets:
AWS_ACCESS_KEY_ID:
required: true
AWS_SECRET_ACCESS_KEY:
required: true
HZ_ENTERPRISE_LICENSE:
required: true
SLACK_WEBHOOK:
required: true

env:
test_container_name_oss: hazelcast-oss-test
Expand Down Expand Up @@ -175,6 +184,7 @@ jobs:
aws-region: 'us-east-1'

- name: Login to Docker Hub
if: inputs.DRY_RUN == 'false'
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin

- name: Get OSS dist ZIP URL
Expand Down

0 comments on commit f1f1a3f

Please sign in to comment.