File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,6 @@ jobs:
182
182
GOOGLE_APPLICATION_CREDENTIALS : ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
183
183
GENESIS_SECRET_KEY : ${{ secrets.GENESIS_SECRET_KEY }}
184
184
GENESIS_VERIFICATION_KEY_URL : ${{ secrets.GENESIS_VERIFICATION_KEY_URL }}
185
- DOCKER_IMAGE_ID : pre-release
186
185
187
186
defaults :
188
187
run :
@@ -193,6 +192,9 @@ jobs:
193
192
- name : Checkout sources
194
193
uses : actions/checkout@v3
195
194
195
+ - name : Get Docker image id
196
+ run : echo "DOCKER_IMAGE_ID=${{ github.ref_name }}-$(echo ${{ github.sha }} | cut -c1-7)" >> $GITHUB_ENV
197
+
196
198
- name : Prepare service account credentials
197
199
run : |
198
200
echo '${{ env.GOOGLE_APPLICATION_CREDENTIALS}}' > ./google-application-credentials.json
Original file line number Diff line number Diff line change 98
98
GOOGLE_APPLICATION_CREDENTIALS : ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
99
99
GENESIS_SECRET_KEY : ${{ secrets.GENESIS_SECRET_KEY }}
100
100
GENESIS_VERIFICATION_KEY_URL : ${{ secrets.GENESIS_VERIFICATION_KEY_URL }}
101
- DOCKER_IMAGE_ID : latest
102
101
103
102
defaults :
104
103
run :
@@ -109,6 +108,9 @@ jobs:
109
108
- name : Checkout sources
110
109
uses : actions/checkout@v3
111
110
111
+ - name : Get Docker image id
112
+ run : echo "DOCKER_IMAGE_ID=${{ github.ref_name }}-$(echo ${{ github.sha }} | cut -c1-7)" >> $GITHUB_ENV
113
+
112
114
- name : Prepare service account credentials
113
115
run : |
114
116
echo '${{ env.GOOGLE_APPLICATION_CREDENTIALS}}' > ./google-application-credentials.json
You can’t perform that action at this time.
0 commit comments