Merge pull request #30 from bizflycloud/fix/limit_volume_per_node #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release to Docker and git | |
on: | |
push: | |
tags: | |
- v* | |
#on: [push, pull_request] | |
jobs: | |
docker: | |
name: Release on Docker hub | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set output | |
id: vars | |
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} | |
- name: Check output | |
env: | |
RELEASE_VERSION: ${{ steps.vars.outputs.tag }} | |
run: | | |
echo $RELEASE_VERSION | |
echo ${{ steps.vars.outputs.tag }} | |
- uses: actions/checkout@v1 | |
- name: Publish to Registry | |
uses: elgohr/Publish-Docker-Github-Action@master | |
with: | |
registry: cr-hn-1.vccloud.vn | |
name: cr-hn-1.vccloud.vn/31ff9581861a4d0ea4df5e7dda0f665d/csi-bizflycloud | |
username: ${{ secrets.USER_CLOUD }} | |
password: ${{ secrets.PASS }} | |
tags: "latest,${{ steps.vars.outputs.tag }}" |