File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 9
9
env :
10
10
BUILT_BINARY_PATH : build/bin
11
11
BUILT_BINARY_NAME : geth
12
- ARCHIVE_BUCKET : debank-build-artifacts
13
- ARCHIVE_FILE_PREFIX : downloads/ethereum
14
- AWS_REGION : ap-northeast-1
15
12
IMAGE : debankdocker/go-ethereum
16
13
17
14
jobs :
93
90
with :
94
91
username : ${{ secrets.DOCKER_HUB_USERNAME }}
95
92
password : ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
93
+ - name : Set env
94
+ run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
96
95
97
96
- name : Extract metadata (tags, labels) for Docker
98
97
id : meta
@@ -102,7 +101,7 @@ jobs:
102
101
tags : |
103
102
type=ref,event=branch
104
103
type=semver,pattern={{version}}
105
- type=raw,value=${{ github.sha }}
104
+ type=raw,value=${{ env.RELEASE_VERSION }}
106
105
107
106
- name : Build and push Docker image
108
107
uses : docker/build-push-action@v3
You can’t perform that action at this time.
0 commit comments