Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
44 changes: 0 additions & 44 deletions .github/workflows/dev-ecr-deploy.yml

This file was deleted.

26 changes: 16 additions & 10 deletions .github/workflows/dockerhub-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Build & Push to DockerHub
on:
push:
branches:
- master
- testnet
- uat

jobs:
build:
Expand All @@ -12,22 +14,26 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1

- uses: webfactory/ssh-agent@v0.4.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY_READ }}

- name: Login to DockerHub Registry
run: echo ${{ secrets.DOCKERHUB_ACCESS_TOKEN_SECRET }} | docker login -u ${{ secrets.DOCKERHUB_ACCESS_TOKEN_USERNAME}} --password-stdin

- name: Build and push Rollup Services image to DockerHub
run: |
docker build -f Dockerfile -t ethereumoptimism/rollup-services:latest .
docker push ethereumoptimism/rollup-services:latest

- name: Build and push Postgres image to DockerHub
run: |
cd db
docker build -f Dockerfile -t ethereumoptimism/postgres:latest .
docker push ethereumoptimism/postgres:latest
git clone https://github.com/ethereum-optimism/docker.git \
$HOME/docker
cd $HOME/docker
BRANCH=${GITHUB_REF##*/}
./build.sh -s batch-submitter -b $BRANCH
if [ $BRANCH == 'master' ]; then
docker push ethereumoptimism/batch-submitter:latest
elif [[ $BRANCH == 'uat' || $BRANCH == 'testnet' ]]; then
docker push ethereumoptimism/batch-submitter:$BRANCH
Comment thread
tynes marked this conversation as resolved.
Outdated
fi

- name: Logout of DockerHub
run: docker logout
3 changes: 0 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY_READ }}

- name: Setup node
uses: actions/setup-node@v1

- name: Build
run: |
git clone https://github.com/ethereum-optimism/optimism-integration.git \
Expand Down
50 changes: 0 additions & 50 deletions .github/workflows/testnet-ecr-build-push.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/uat-ecr-build-push.yml

This file was deleted.