chore(main.go): update CLI name, usage, and version #41
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: Continuous integration | |
# on: | |
# push: | |
# branches: | |
# - develop | |
# jobs: | |
# build: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: set up golang | |
# uses: actions/setup-go@v2 | |
# with: | |
# go-version: 1.13.15 | |
# - name: check out code | |
# uses: actions/checkout@v2 | |
# - name: set up docker buildx | |
# uses: docker/setup-buildx-action@v1 | |
# - name: cache docker layers | |
# uses: actions/cache@v2 | |
# with: | |
# path: /tmp/.buildx-cache | |
# key: ${{ runner.os }}-buildx-${{ github.sha }} | |
# restore-keys: | | |
# ${{ runner.os }}-buildx- | |
# - name: log into dockerhub | |
# uses: docker/login-action@v1 | |
# with: | |
# username: ${{ secrets.DOCKER_USER }} | |
# password: ${{ secrets.DOCKER_PASSWORD }} | |
# - name: get short sha | |
# id: type | |
# run: | | |
# sha=$(git rev-parse --short HEAD) | |
# echo ::set-output name=id::${sha} | |
# - name: docker build and push | |
# uses: docker/build-push-action@v2 | |
# with: | |
# push: true | |
# file: build/package/Dockerfile | |
# tags: dictybase/draftjs-to-slatejs:develop-${{ steps.type.outputs.id }} | |
# cache-from: type=local,src=/tmp/.buildx-cache | |
# cache-to: type=local,dest=/tmp/.buildx-cache |