Merge pull request #166 from EYBlockchain/dattatray/multicontract-ver… #13
This file contains hidden or 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 multiple-contracts | |
| on: | |
| push: | |
| branches: | |
| - multiple-contracts | |
| jobs: | |
| release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Login to Github Packages | |
| uses: docker/login-action@v1 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| # - uses: codfish/semantic-release-action@master | |
| # id: semantic | |
| # env: | |
| # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| # - name: Build docker merkle-tree image | |
| # run: docker build ./merkle-tree | |
| # - run: echo ${{ steps.semantic.outputs.release-version }} | |
| - name: Build and push UI docker image | |
| uses: docker/build-push-action@v2 | |
| with: | |
| context: ./merkle-tree | |
| build-args: | | |
| GPR_TOKEN=${{ secrets.GPR_TOKEN }} | |
| tags: | | |
| ghcr.io/eyblockchain/timber-multicontract:latest | |
| ghcr.io/eyblockchain/timber-multicontract:v2.0.0 | |
| # username: ${{ github.actor }} | |
| # password: ${{ secrets.GITHUB_TOKEN }} | |
| push: true |