Skip to content

Merge branch 'release/3.0' of github.com:TarsCloud/Tars into release/3.0 #60

Merge branch 'release/3.0' of github.com:TarsCloud/Tars into release/3.0

Merge branch 'release/3.0' of github.com:TarsCloud/Tars into release/3.0 #60

name: deploy-tars-docker
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: docker login
run: |
docker login -u ${{ secrets.name }} -p ${{ secrets.pass }}
- name: Get version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- uses: actions/checkout@v2
with:
submodules: true
- name: deploy docker
run: |
echo $GITHUB_SHA
./tars-deploy-tars.sh ${{ steps.get_version.outputs.VERSION }} true