File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 37
37
38
38
- name : Login to DockerHub
39
39
uses : docker/login-action@v3
40
+ if : ${{ github.repository_owner == 'clux' }}
40
41
with :
41
42
username : clux
42
43
password : ${{ secrets.DOCKERHUB_TOKEN }}
97
98
98
99
- name : Tag and push
99
100
shell : bash
101
+ if : ${{ github.repository_owner == 'clux' }}
100
102
run : |
101
103
RUST_DATE=$(cat /tmp/tags/rust-date)
102
104
RUST_CHANNEL=$(cat /tmp/tags/rust-channel)
@@ -118,6 +120,7 @@ jobs:
118
120
119
121
merge :
120
122
runs-on : ubuntu-latest
123
+ if : github.repository_owner == 'clux'
121
124
needs :
122
125
- build
123
126
steps :
Original file line number Diff line number Diff line change 58
58
59
59
- name : Login to DockerHub
60
60
uses : docker/login-action@v3
61
+ if : ${{ github.repository_owner == 'clux' }}
61
62
with :
62
63
username : clux
63
64
password : ${{ secrets.DOCKERHUB_TOKEN }}
@@ -112,6 +113,7 @@ jobs:
112
113
echo $RUST_VER > /tmp/tags/rust-ver
113
114
114
115
- name : Tag and push
116
+ if : ${{ github.repository_owner == 'clux' }}
115
117
shell : bash
116
118
run : |
117
119
RUST_DATE=$(cat /tmp/tags/rust-date)
@@ -125,6 +127,7 @@ jobs:
125
127
126
128
# TODO: want to do this, but need digest, which might not be trivial to get outside build-push-action
127
129
# - name: Attest docker.io
130
+ # if: ${{ github.repository_owner == 'clux' }}
128
131
# uses: actions/attest-build-provenance@v2.3.0
129
132
# with:
130
133
# subject-name: docker.io/${{ env.REGISTRY_IMAGE }}
@@ -143,6 +146,7 @@ jobs:
143
146
merge :
144
147
name : ' Stable merge'
145
148
runs-on : ubuntu-latest
149
+ if : github.repository_owner == 'clux'
146
150
needs :
147
151
- build
148
152
steps :
You can’t perform that action at this time.
0 commit comments