Skip to content

Commit 2eaf01f

Browse files
author
Germey
committed
Merge branches 'germey/add-env-prefix' and 'master' of github.com:Python3WebSpider/ProxyPool
2 parents 00d4388 + 1ccb847 commit 2eaf01f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,12 @@ jobs:
2929
username: germey
3030
password: ${{ secrets.DOCKERHUB_LOGIN_PASSWORD }}
3131

32-
- name: Extract branch name
33-
id: branch
34-
shell: bash
35-
run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF##*/} | sed 's/master/latest/')"
36-
3732
- name: Build and push
3833
uses: docker/build-push-action@v2
3934
with:
4035
context: .
4136
push: true
4237
platforms: linux/amd64
4338
tags: |
44-
germey/proxypool:${{ steps.branch.outputs.tag }}
39+
germey/proxypool:latest
40+
germey/proxypool:master

0 commit comments

Comments
 (0)