@@ -12,44 +12,53 @@ jobs:
1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : Login SN docker hub
15+ if : github.actor == 'streamnativebot'
1516 run : docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
16- - name : Set up Go 1.25
17+ - name : Set up Go 1.25.11
1718 uses : actions/setup-go@v6
1819 with :
19- go-version : 1.25
20+ go-version : 1.25.11
2021 id : go
2122 - name : Check out code into the Go module directory
2223 uses : actions/checkout@v2
2324 - name : Function tests
2425 run : scripts/run-integration-tests.sh function
26+ env :
27+ PULSAR_IMAGE : ${{ github.actor == 'streamnativebot' && 'snstage/pulsar-all' || 'apachepulsar/pulsar-all' }}
2528 - name : Setup tmate session
2629 if : failure()
2730 uses : mxschmitt/action-tmate@v3
2831 sink-tests :
2932 runs-on : ubuntu-latest
3033 steps :
3134 - name : Login SN docker hub
35+ if : github.actor == 'streamnativebot'
3236 run : docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
33- - name : Set up Go 1.25
37+ - name : Set up Go 1.25.11
3438 uses : actions/setup-go@v6
3539 with :
36- go-version : 1.25
40+ go-version : 1.25.11
3741 id : go
3842 - name : Check out code into the Go module directory
3943 uses : actions/checkout@v2
4044 - name : Sink tests
4145 run : scripts/run-integration-tests.sh sink
46+ env :
47+ PULSAR_IMAGE : ${{ github.actor == 'streamnativebot' && 'snstage/pulsar-all' || 'apachepulsar/pulsar-all' }}
4248 source-tests :
4349 runs-on : ubuntu-latest
4450 steps :
4551 - name : Login SN docker hub
52+ if : github.actor == 'streamnativebot'
4653 run : docker login -u="${{ secrets.DOCKER_USER }}" -p="${{ secrets.DOCKER_PASSWORD}}"
47- - name : Set up Go 1.25
54+ - name : Set up Go 1.25.11
4855 uses : actions/setup-go@v6
4956 with :
50- go-version : 1.25
57+ go-version : 1.25.11
5158 id : go
5259 - name : Check out code into the Go module directory
5360 uses : actions/checkout@v2
5461 - name : Source tests
5562 run : scripts/run-integration-tests.sh source
63+ env :
64+ PULSAR_IMAGE : ${{ github.actor == 'streamnativebot' && 'snstage/pulsar-all' || 'apachepulsar/pulsar-all' }}
0 commit comments