Skip to content

Commit 6569e0e

Browse files
authored
Update proxy endpoint for published builds (#8194)
1 parent 060af62 commit 6569e0e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ jobs:
104104
echo "forked_workflow=${forked_workflow}" >> $GITHUB_OUTPUT
105105
go_proxy="https://proxy.golang.org,direct"
106106
if [ "$forked_workflow" = "false" ]; then
107-
go_proxy="https://azr.artifactory.f5net.com/artifactory/api/go/f5-nginx-go-dev"
107+
go_proxy="${{ secrets.ARTIFACTORY_DEV_ENDPOINT }}"
108+
elif [ "${{ github.ref_name }}" = "main" ] || [[ "${{ github.ref_name }}" =~ "release-" ]]; then
109+
go_proxy="${{ secrets.ARTIFACTORY_ENDPOINT }}"
108110
fi
109111
echo "go_proxy=${go_proxy}" >> $GITHUB_OUTPUT
110112
./.github/scripts/variables.sh go_code_md5 >> $GITHUB_OUTPUT

.github/workflows/image-promotion.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
id: vars
6262
run: |
6363
echo "go_path=$(go env GOPATH)" >> $GITHUB_OUTPUT
64-
echo "go_proxy=https://azr.artifactory.f5net.com/artifactory/api/go/f5-nginx-go-dev" >> $GITHUB_OUTPUT
64+
echo "go_proxy=${{ secrets.ARTIFACTORY_ENDPOINT }}" >> $GITHUB_OUTPUT
6565
source .github/data/version.txt
6666
echo "ic_version=${IC_VERSION}" >> $GITHUB_OUTPUT
6767
echo "chart_version=${HELM_CHART_VERSION}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)