diff --git a/.github/workflows/publish-deb-package.yml b/.github/workflows/publish-deb-package.yml index 29b69f6..413ce0d 100644 --- a/.github/workflows/publish-deb-package.yml +++ b/.github/workflows/publish-deb-package.yml @@ -71,7 +71,13 @@ jobs: HZ_LICENSEKEY: ${{ secrets.HZ_LICENSEKEY }} run: | source ./common.sh - wget -qO - https://repository.hazelcast.com/api/gpg/key/public | gpg --dearmor | sudo tee /usr/share/keyrings/hazelcast-archive-keyring.gpg > /dev/null + wget \ + https://repository.hazelcast.com/api/gpg/key/public \ + --header "Authorization: Bearer ${{ env.JFROG_TOKEN }}" \ + --output-document - \ + --quiet \ + | gpg --dearmor \ + | sudo tee /usr/share/keyrings/hazelcast-archive-keyring.gpg > /dev/null echo "deb [signed-by=/usr/share/keyrings/hazelcast-archive-keyring.gpg] ${DEBIAN_REPO_BASE_URL} ${PACKAGE_REPO} main" | sudo tee -a /etc/apt/sources.list sudo apt update && sudo apt install ${{ env.HZ_DISTRIBUTION}}=${HZ_VERSION} HAZELCAST_CONFIG="$(pwd)/config/integration-test-hazelcast.yaml" hz-start > hz.log 2>&1 & diff --git a/.github/workflows/publish-rpm-package.yml b/.github/workflows/publish-rpm-package.yml index 710bc96..602f3f4 100644 --- a/.github/workflows/publish-rpm-package.yml +++ b/.github/workflows/publish-rpm-package.yml @@ -79,7 +79,10 @@ jobs: HZ_LICENSEKEY: ${{ secrets.HZ_LICENSEKEY }} run: | source ./common.sh - wget ${RPM_REPO_BASE_URL}/${PACKAGE_REPO}/hazelcast-rpm-${PACKAGE_REPO}.repo -O hazelcast-rpm-${PACKAGE_REPO}.repo + wget \ + ${RPM_REPO_BASE_URL}/${PACKAGE_REPO}/hazelcast-rpm-${PACKAGE_REPO}.repo \ + --header "Authorization: Bearer ${{ env.JFROG_TOKEN }}" \ + --output-document hazelcast-rpm-${PACKAGE_REPO}.repo mv hazelcast-rpm-${PACKAGE_REPO}.repo /etc/yum.repos.d/ yum install -y ${{ env.HZ_DISTRIBUTION}}-${RPM_HZ_VERSION} HAZELCAST_CONFIG="$(pwd)/config/integration-test-hazelcast.yaml" hz-start > hz.log 2>&1 &