|
@@ -29,11 +29,6 @@ jobs:
|
|
|
username: germey
|
|
|
password: ${{ secrets.DOCKERHUB_LOGIN_PASSWORD }}
|
|
|
|
|
|
- - name: Extract branch name
|
|
|
- id: branch
|
|
|
- shell: bash
|
|
|
- run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF##*/} | sed 's/master/latest/')"
|
|
|
-
|
|
|
- name: Build and push
|
|
|
uses: docker/build-push-action@v2
|
|
|
with:
|
|
@@ -41,4 +36,5 @@ jobs:
|
|
|
push: true
|
|
|
platforms: linux/amd64
|
|
|
tags: |
|
|
|
- germey/proxypool:${{ steps.branch.outputs.tag }}
|
|
|
+ germey/proxypool:latest
|
|
|
+ germey/proxypool:master
|