Merge pull request #149 from EYBlockchain/fabio/fix-babel #3
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 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 | |
# username: ${{ github.actor }} | |
# password: ${{ secrets.GITHUB_TOKEN }} | |
push: true |