Skip to content

Commit

Permalink
Merge pull request #24 from PasteUs/dev
Browse files Browse the repository at this point in the history
Using edited publish docker
  • Loading branch information
LucienShui committed Oct 23, 2019
2 parents 4e65de8 + 4f3f244 commit 931b6ed
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/upload-to-release.yml
Expand Up @@ -52,15 +52,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_PASSWORD }}

- name: Get tag
run: |
export DOCKER_TAG=$(echo ${{ github.ref }} | awk -F'release-v' '{ print $2 }')
- name: Publish Docker
uses: elgohr/Publish-Docker-Github-Action@2.7
uses: LucienShui/Publish-Docker-Github-Action@2.7.1
with:
name: registry.cn-hangzhou.aliyuncs.com/pasteus/hello-ci:${DOCKER_TAG}
name: registry.cn-hangzhou.aliyuncs.com/pasteus/hello-ci
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-hangzhou.aliyuncs.com
dockerfile: Dockerfile
dockerfile: Dockerfile
tag_names: true

0 comments on commit 931b6ed

Please sign in to comment.