File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,9 @@ jobs:
104
104
echo "forked_workflow=${forked_workflow}" >> $GITHUB_OUTPUT
105
105
go_proxy="https://proxy.golang.org,direct"
106
106
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 }}"
108
110
fi
109
111
echo "go_proxy=${go_proxy}" >> $GITHUB_OUTPUT
110
112
./.github/scripts/variables.sh go_code_md5 >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change 61
61
id : vars
62
62
run : |
63
63
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
65
65
source .github/data/version.txt
66
66
echo "ic_version=${IC_VERSION}" >> $GITHUB_OUTPUT
67
67
echo "chart_version=${HELM_CHART_VERSION}" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments