Skip to content

Commit bfdaf91

Browse files
committed
Update CI Tag
Signed-off-by: Manjusaka <me@manjusaka.me>
1 parent fe4be63 commit bfdaf91

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ on:
99
env:
1010
BUILT_BINARY_PATH: build/bin
1111
BUILT_BINARY_NAME: geth
12-
ARCHIVE_BUCKET: debank-build-artifacts
13-
ARCHIVE_FILE_PREFIX: downloads/ethereum
14-
AWS_REGION: ap-northeast-1
1512
IMAGE: debankdocker/go-ethereum
1613

1714
jobs:
@@ -93,6 +90,8 @@ jobs:
9390
with:
9491
username: ${{ secrets.DOCKER_HUB_USERNAME }}
9592
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
93+
- name: Set env
94+
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
9695

9796
- name: Extract metadata (tags, labels) for Docker
9897
id: meta
@@ -102,7 +101,7 @@ jobs:
102101
tags: |
103102
type=ref,event=branch
104103
type=semver,pattern={{version}}
105-
type=raw,value=${{ github.sha }}
104+
type=raw,value=${{ env.RELEASE_VERSION }}
106105
107106
- name: Build and push Docker image
108107
uses: docker/build-push-action@v3

0 commit comments

Comments
 (0)