Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

add boba l2 rinkeby deployment #1

Draft
wants to merge 25 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .github/workflows/build-boba.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Publish Containers

on:
push:
branches:
- 'inomurko/v3.14.5'

jobs:

build-publish-win:
name: Create containers
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }}

- uses: actions/checkout@v2

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"

- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Get services
working-directory: ./boba_ops
run: git submodule sync --recursive && git submodule update --recursive --init

- name: Build the services
working-directory: ./boba_ops
run: docker compose build

- name: Tag
working-directory: ./boba_ops
run: |
docker images
for i in $(docker images --format "{{.Repository}}:{{.Tag}}" | grep bobanetwork); do
docker image tag "$i" bobanetwork/$(echo $i | awk -F'/' '{print $2}' | awk -F':' '{print $1}'):latest
done
docker images

- name: Push
working-directory: ./boba_ops
run: |
for i in $(docker images --format "{{.Repository}}:{{.Tag}}" | grep bobanetwork); do
echo "$1"
docker push "$i"
done
1 change: 0 additions & 1 deletion .github/workflows/deploy-arbitrum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ jobs:
yarn install --cache-folder ./.yarncache --frozen-lockfile
rm -rf .yarncache
yarn cache clean

# Set production flag
- name: Set production flag for release PR or tagged build
run: echo "REACT_APP_ENV=production" >> $GITHUB_ENV
Expand Down
148 changes: 0 additions & 148 deletions .github/workflows/deploy-bsc.yml

This file was deleted.

148 changes: 0 additions & 148 deletions .github/workflows/deploy-ewc.yml

This file was deleted.

Loading